Date: Wed, 23 Jan 2002 12:30:43 +1300 From: "Mark Frater" <mfrater@quicksilver.co.nz> To: <freebsd-questions@FreeBSD.ORG> Subject: getting ldconfig to recognise libs Message-ID: <016f01c1a39c$d0408700$0a8259ca@quicksilver.co.nz>
next in thread | raw e-mail | index | archive | help
Hi all,
I'm trying to compile a program (sqwebmail) that requires libpq.so
-Its currently throwing up the following error during configure.
-checking for pg_config... (cached) /usr/local/bin/pg_config
-checking for PQsetdbLogin... (cached) no
-configure: error: --with-authpgsql specified but no libpq.so
-configure: error: ./configure failed for authlib
..libpq.so exists in /local/www/pgsql/lib..
# ls -tal /local/www/pgsql/lib/libpq.so*
lrwxr-xr-x 1 root pop 10 Jan 11 12:39 libpq.so -> libpq.so.2
-rw-r--r-- 1 pgsql pop 46163 May 24 2000 libpq.so.2
.. so I've set ldconfig search directories to include the location of
libpq.so
# ldconfig -i /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/lib
/local/www/pgsql/lib
.. ldconfig is now picking up other libs in that directory but ldconfig
doesn't pick up libpq.so
# ldconfig -r | grep pq
98:-lpq.2 => /usr/lib/libpq.so.2
99:-lpq.2 => /local/www/pgsql/lib/libpq.so.2
101:-lpq++.3 => /local/www/pgsql/lib/libpq++.so.3
Can anyone tell me why? .. and how I can get ldconfig to find libpq.so ?
Regards
Mark
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016f01c1a39c$d0408700$0a8259ca>
