Re: Problem with dblink regression test

From: Chris Campbell <chris(at)bignerdranch(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, mail(at)joeconway(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Problem with dblink regression test
Date: 2005-06-22 21:08:17
Message-ID: FB78137A-90F8-4A96-95CE-1B422AE6BA38@bignerdranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Jun 22, 2005, at 12:52, Tom Lane wrote:

> "Jim C. Nasby" <decibel(at)decibel(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-06-22 21:14:34 pgsql: Make REINDEX DATABASE do what one would expect, namely reindex
Previous Message Magnus Hagander 2005-06-22 21:03:21 Re: pg_terminate_backend idea

Browse pgsql-patches by date

  From Date Subject
Next Message Marko Kreen 2005-06-22 23:27:57 [PATCH] pgcrypto: pgp_encrypt
Previous Message Andrew Dunstan 2005-06-22 19:50:12 Re: plperl better array support