X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id F0173D1B545 for ; Thu, 20 Nov 2003 21:09:16 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 10907-05 for ; Thu, 20 Nov 2003 17:08:46 -0400 (AST) Received: from sj-iport-1.cisco.com (sj-iport-1-in.cisco.com [171.71.176.70]) by svr1.postgresql.org (Postfix) with ESMTP id 9BAB7D1C976 for ; Thu, 20 Nov 2003 17:08:44 -0400 (AST) Received: from wells.cisco.com (wells.cisco.com [171.71.177.223]) by sj-core-5.cisco.com (8.12.9/8.12.6) with ESMTP id hAKL8hjq020063 for ; Thu, 20 Nov 2003 13:08:44 -0800 (PST) Received: from sirathw2k01 (dhcp-171-69-99-64.cisco.com [171.69.99.64]) by wells.cisco.com (8.8.6 (PHNE_14041)/CISCO.SERVER.1.2) with ESMTP id NAA25331 for ; Thu, 20 Nov 2003 13:08:42 -0800 (PST) Reply-To: From: "Siddharth Rath (sirath)" To: Subject: Need your help (frustrating issue) Date: Thu, 20 Nov 2003 13:08:42 -0800 Message-ID: <023001c3afaa$7a4d1900$d51da143@amer.cisco.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0231_01C3AF67.6C29D900" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=EMAIL_ATTRIBUTION, HTML_40_50, HTML_FONT_COLOR_BLUE X-Spam-Level: X-Archive-Number: 200311/372 X-Sequence-Number: 11359 This is a multi-part message in MIME format. ------=_NextPart_000_0231_01C3AF67.6C29D900 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi , I'm facing an issue with Postgresql 7.3.4. I've installed DBI version 1.37 & DBD::Pg (1.22) on a Solaris 8 machine w/ perl 5.6.1 .The basic problem is I can connect to Postgres just fine from the command line, but it craps out when I try from a CGI with the below error message: install_driver(Pg) failed: Can't load '/apps/systran/perl/lib/sun4-solaris/auto/DBD/Pg/Pg.so' for module DBD::Pg: ld.so.1: /usr/local/bin/perl: fatal: libgcc_s.so.1: open failed: No such file or directory at /usr/local/perl5.6.1/lib/sun4-solaris/DynaLoader.pm line 206. at (eval 1) line 3 I got an link in google that says : Christoph Lange <[PRIVACY PROTECTION]> writes: > install_driver(Pg) failed: Can't load > '/soft/perl/lib/site_perl/sun4-solaris/auto/DBD/Pg/Pg.so' for module DBD::Pg: ld.so.1: /soft/local/bin/perl: fatal: > libpq.so: open failed: No such file or directory! Probably you have not told ldconfig where to look for libpq.so. The directory containing that shlib needs to be part of the system search path for shlibs (/etc/ld.so.conf I think). regards, tom lane It's Solaris, so there's no ldconfig to work on the fly's of libraries .I did put the LD_LIBRARY_PATH correctly in the cgi itself , hoping that it would work out, but it didnt help me out. Can you please help me out in resolving it. Thanx and regards Sidd ------=_NextPart_000_0231_01C3AF67.6C29D900 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Hi ,=
I'm facing an issu= e with=20 Postgresql 7.3.4.
I've installed=20 DBI version 1.37 & DBD::Pg= (1.22) on a Solaris  8  machine w/ per= l 5.6.1=20 .The basic
problem is I can connect to Postgres just fine from the comma= nd=20 line, but it
craps out when I try from a CGI with the below error=20 message:
install_driver(Pg) failed: Can't load=20 '/apps/systran/perl/lib/sun4-solaris/auto/DBD/Pg/Pg.so' for module DBD::Pg:= =20 ld.so.1: /usr/local/bin/perl: fatal: libgcc_s.so.1: open failed: No such fi= le or=20 directory at /usr/local/perl5.6.1/lib/sun4-solaris/DynaLoader.pm line=20 206.
 at (eval 1) line 3
 
 
 
I got = an link in=20 google that says :

Christoph Lange <[PRIVACY PROTECTION]> writes: = >=20 install_driver(Pg) failed: Can't load >=20 '/soft/perl/lib/site_perl/sun4-solaris/auto/DBD/Pg/Pg.so' for module DBD::P= g:=20 ld.so.1: /soft/local/bin/perl: fatal: > libpq.so: open

failed: No such file or directory!

Probably you have not told ldconfig where to look for= =20 libpq.so. The directory containing that shlib needs to be part of the syste= m=20 search path for shlibs (/etc/ld.so.conf I think). regards, tom=20 lane


It's Solaris= , so=20 there's no ldconfig to work on the fly's of libraries .I did put the LD_LIBRARY_PATH correctly i= n the=20 cgi  itself , hoping that it would work out, but it didnt help me=20 out.

Can you please help me out in resolving=20 it.

Thanx and=20 regards

Sidd

=
------=_NextPart_000_0231_01C3AF67.6C29D900--