On Jun 22, 2005, at 12:52, Tom Lane wrote:
"Jim C. Nasby" <[EMAIL PROTECTED]> writes:
Is there a way to confirm which libpq.so psql and/or dblink.so has
linked to? Are there any other tests I could run to shed some
light on
this?
On Linux you use "ldd" to find out what the linker will do with
dependencies of an executable or shared library. I don't recall the
equivalent incantation on FreeBSD or OS X but I'm sure there is one.
On OS X, use "otool -L":
$ otool -L /Library/PostgreSQL/bin/psql
/Library/PostgreSQL/bin/psql:
/Library/PostgreSQL/lib/libpq.3.dylib (compatibility version
3.0.0, current version 3.2.0)
/usr/lib/libssl.0.9.7.dylib (compatibility version 0.9.7,
current version 0.9.7)
/usr/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7,
current version 0.9.7)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libncurses.5.dylib (compatibility version 5.0.0,
current version 5.0.0)
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0,
current version 324.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 71.1.1)
- Chris
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster