Re: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: julia(dot)jacobson(at)arcor(dot)de
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4
Date: 2012-05-27 15:06:43
Message-ID: 22546.1338131203@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

julia(dot)jacobson(at)arcor(dot)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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message julia.jacobson 2012-05-27 19:23:50 Re: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4
Previous Message julia.jacobson 2012-05-27 13:06:37 unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4