luke.p@??? (Luke Pascoe) writes:
> Hrmmm. There is a libpq.so file in /usr/lib but:
> LOOKUP_LIBS=-L/usr/lib -lpq
> Made no difference.
Get rid of the -L flag and just put in LOOKUP_LIBS=-lpq
Quoting from man 8 ldconfig -
ldconfig creates the necessary links and cache (for use by
the run-time linker, ld.so) to the most recent shared
libraries found in the directories specified on the com
mand line, in the file /etc/ld.so.conf, and in the trusted
directories (/usr/lib and /lib). ldconfig checks the
header and file names of the libraries it encounters when
determining which versions should have their links
updated. ldconfig ignores symbolic links when scanning
for libraries.