Re: Problem with dblink regression test
От | Chris Campbell |
---|---|
Тема | Re: Problem with dblink regression test |
Дата | |
Msg-id | FB78137A-90F8-4A96-95CE-1B422AE6BA38@bignerdranch.com обсуждение исходный текст |
Ответ на | Re: Problem with dblink regression test (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On Jun 22, 2005, at 12:52, Tom Lane wrote: > "Jim C. Nasby" <decibel@decibel.org> 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
В списке pgsql-hackers по дате отправления: