Perl and PostgreSQL

Bruce Momjian root at candle.pha.pa.us
Mon Dec 8 04:22:30 PST 2003


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 at 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


More information about the freebsd-database mailing list