Subject: ELF and ldconfig (was Re: [HACKERS] Problem with dlopen and PostgreSQL
To: D'Arcy J.M. Cain <darcy@druid.net>
From: Todd Vierling <tv@pobox.com>
List: current-users
Date: 07/26/1999 09:04:30
On Sun, 25 Jul 1999, D'Arcy J.M. Cain wrote:

: [darcy@smaug:/usr/pgsql/modules] $ ldd glaccount.so
: glaccount.so:
:          -lpq => not found
:          -lc.12 => /usr/lib/libc.so.12
: 
: The file libpq.so exists in the directory ${PGDIR}/lib and I still get the
: same problem.

You don't have an rpath in the shared object.  See Ross's ELF FAQ.

: And I just now had a panic while investigating why ldconfig is not being built.
: Can I assume that ldconfig is not used in an ELF system?

No, it is not.  See Ross's ELF FAQ.

-- 
-- Todd Vierling (tv@pobox.com)