Skip site navigation (1) Skip section navigation (2)

pgsql problems.

From: Jeff Cain <cain(at)kearneydev(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: pgsql problems.
Date: 2002-03-26 18:10:57
Message-ID: (view raw or whole thread)
Lists: pgadmin-support
Followup on last message.

ldd can't find the library even though ldconfig can.  It is listed in properly and ldconfig was run.

[root(at)tau /tmp]# perl -c
Can't load '/usr/lib/perl5/site_perl/i386-linux/auto/Pg/' for 
module Pg: cannot open shared object file: No such file or 
directory at /usr/lib/perl5/i386-linux/5.00405/ line 169.

  at line 2
BEGIN failed--compilation aborted at line 2.

[root(at)tau /tmp]# cat
#!/usr/bin/perl -w
use Pg;

[root(at)tau /tmp]# ldd /usr/lib/perl5/site_perl/i386-linux/auto/Pg/ => not found

[root(at)tau /tmp]# ldconfig -v | less
	(things removed)
/home/pgsql713/lib: => => =>
         (things removed)

[root(at)tau /tmp]# cat /etc/

[root(at)tau /tmp]# ls -l /home/pgsql713/lib/libpq*
-rw-r--r--   1 root     root        63892 Mar 26 12:06 
lrwxrwxrwx   1 root     root           12 Mar 26 12:06 
/home/pgsql713/lib/ ->
lrwxrwxrwx   1 root     root           12 Mar 26 12:06 
/home/pgsql713/lib/ ->
-rwxr-xr-x   1 root     root        56295 Mar 26 12:06 

=== Copying to /usr/lib works fine...

[root(at)tau /tmp]# ln -s /home/pgsql713/lib/ /usr/lib
[root(at)tau /tmp]# ldconfig
[root(at)tau /tmp]# perl -c syntax OK

[root(at)tau /tmp]# ldd /usr/lib/perl5/site_perl/i386-linux/auto/Pg/ => /usr/lib/ (0x40015000) => /lib/ (0x40022000) => /lib/ (0x40051000) => /lib/ (0x4005f000) => /lib/ (0x40065000)
         /lib/ => /lib/ (0x80000000)


Why can't ldd find a library when ldconfig can?  It is listed in properly
and this has worked before.  Any advise would be appreciated.

pgadmin-support by date

Next:From: Thomas SandfordDate: 2002-03-27 15:21:08
Subject: Quotes and functions
Previous:From: Jeff CainDate: 2002-03-26 18:03:05
Subject: Perl dies with pgsql

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group