Date: Sun, 7 Dec 2003 22:53:48 -0800 (PST) From: Mehdi <sm_justice@yahoo.com> To: freebsd-database@freebsd.org Cc: aaroncutchin@yahoo.com Subject: Re: Perl and PostgreSQL Message-ID: <20031208065348.11430.qmail@web41314.mail.yahoo.com> In-Reply-To: <20031208062651.51913.qmail@web41302.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi I found that use Pg; has problem and all files of approprite package installed successfully But I don't know Why this does not work fine. I think If I can solve the error message the problem solved. 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. I try to use ports to install pg interface to perl But the following error occurred bash-2.05# make >> pgsql_perl5-1.8.1.tar.gz doesn't seem to exist on this system. >> Attempting to fetch from ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/Pg/. fetch: pgsql_perl5-1.8.1.tar.gz: File unavailable (e.g., file not found, no access) >> Attempting to fetch from ftp://ftp.freesoftware.com/pub/perl/CPAN/modules/by-module/Pg/. fetch: pgsql_perl5-1.8.1.tar.gz: Undefined error: 0 >> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: pgsql_perl5-1.8.1.tar.gz: No route to host >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/databases/p5-Pg. *** Error code 1 Stop in /usr/ports/databases/p5-Pg. *** Error code 1 Stop in /usr/ports/databases/p5-Pg. *** Error code 1 Stop in /usr/ports/databases/p5-Pg. *** Error code 1 Stop in /usr/ports/databases/p5-Pg. *** Error code 1 Stop in /usr/ports/databases/p5-Pg. *** Error code 1 Stop in /usr/ports/databases/p5-Pg. --- Mehdi <sm_justice@yahoo.com> 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/ > _______________________________________________ > freebsd-database@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-database > To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.org" __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031208065348.11430.qmail>