From: Tom Lane <tgl@sss.pgh.pa.us>
To: julia.jacobson@arcor.de
Cc: pgsql-odbc@postgresql.org
Subject: Re: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4
Date: Sun, 27 May 2012 11:06:43 -0400
Message-ID: <22546.1338131203@sss.pgh.pa.us> (raw)
In-Reply-To: <604906052.623100.1338123997652.JavaMail.ngmail@webmail21.arcor-online.net>
References: <604906052.623100.1338123997652.JavaMail.ngmail@webmail21.arcor-online.net>
julia.jacobson@arcor.de writes:
> Moreover, all required dependencies of the library are present on the machine:
> MacMini:~ user$ otool -L /Library/PostgreSQL/psqlODBC/lib/psqlodbcw.so
> /Library/PostgreSQL/psqlODBC/lib/psqlodbcw.so:
> /usr/lib/libltdl.3.dylib (compatibility version 5.0.0, current version 5.4.0)
> /usr/lib/libssl.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
> @loader_path/libpq.5.dylib (compatibility version 5.0.0, current version 5.4.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
> /usr/lib/libiodbc.2.dylib (compatibility version 4.0.0, current version 4.17.0)
> /usr/lib/libiodbcinst.2.dylib (compatibility version 4.0.0, current version 4.17.0)
> /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Hm, what's that "@loader_path" business? I don't know much about
dynamic linking on OS X, but if that works at all, it must be some sort
of environment reference, which would be pretty fragile. I'd suggest
asking EnterpriseDB whether that's meant to be like that or is a
packaging bug. And if it is meant to be like that, what do you have to do
to ensure the reference is resolved correctly?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, julia.jacobson@arcor.de
Subject: Re: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4
In-Reply-To: <22546.1338131203@sss.pgh.pa.us>
References: <604906052.623100.1338123997652.JavaMail.ngmail@webmail21.arcor-online.net> <22546.1338131203@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox