From owner-freebsd-database@FreeBSD.ORG Mon Dec 8 04:22:30 2003 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E01A16A4CE for ; Mon, 8 Dec 2003 04:22:30 -0800 (PST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 773D143FD7 for ; Mon, 8 Dec 2003 04:22:28 -0800 (PST) (envelope-from root@candle.pha.pa.us) Received: (from root@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hB8CMPf26754; Mon, 8 Dec 2003 07:22:25 -0500 (EST) From: Bruce Momjian Message-Id: <200312081222.hB8CMPf26754@candle.pha.pa.us> In-Reply-To: <20031208062651.51913.qmail@web41302.mail.yahoo.com> To: Mehdi Date: Mon, 8 Dec 2003 07:22:25 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-database@freebsd.org Subject: Re: Perl and PostgreSQL X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2003 12:22:30 -0000 Due to time constraints, I do not directly answer general PostgreSQL questions. For assistance, please join the appropriate mailing list and post your question: http://www.postgresql.org/users-lounge You can also try the #postgresql IRC channel on EFNet. See the PostgreSQL FAQ for more information. --------------------------------------------------------------------------- Mehdi wrote: > Hi > I installed freebsd 4.3-RELEASE on my system and > install the following perl packages: > eperl-2.2.14 Embedded Perl 5 Language > p5-CGI-2.76 Modules for perl5, for use in > writing CGI scripts > p5-DBI-1.13 The perl5 Database Interface. > Required for DBD::* modules > p5-FastCGI-0.48 Modules for perl5, for enabling > FastCGI support in CGI scri > p5-FastCGI-0.52 Modules for perl5, for enabling > FastCGI support in CGI scri > p5-HTML-QuickCheck-1.0b1 A simple and fast HTML syntax > checking package for perl 4 a > p5-MIME-Tools-4.122 A set of perl5 modules for MIME > also I compiled postgresql-7.4 with --with-perl > configuration. > Now I want to install a software that cgi sources use > these package(That work fine on RedHat 7.3) > 9 use Net::LDAP; > 10 use Net::LDAP::Entry; > 11 use MIME::Base64; > 12 use Pg; > 13 use LWP::Simple; > 14 use CGI; > > When I run setup.sh of the software.The following > error occurred: > bash-2.05# ./setup.sh > re-compile CGIs? (y/n) n > ls: -d: No such file or directory > Can't load > '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Pg/Pg.so' > for > ect "libpq.so.3" not found at > /usr/libdata/perl/5.00503/DynaLoader.pm line 169. > > at tmptmp line 9 > BEGIN failed--compilation aborted at tmptmp line 9. > ERROR: initCA return code = 2 > > I think my problem is because of that I have not on > system an Interface from perl to postgres. > What's your idea about that? > PLEASE HELP ME. > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > -- Bruce Momjian | http://candle.pha.pa.us root@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073