Re: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4 - Mailing list pgsql-odbc

From Tom Lane
Subject Re: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4
Date
Msg-id 22546.1338131203@sss.pgh.pa.us
Whole thread Raw
In response to unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4  (julia.jacobson@arcor.de)
Responses Re: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4  (Dave Page <dpage@pgadmin.org>)
List pgsql-odbc
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

pgsql-odbc by date:

Previous
From: julia.jacobson@arcor.de
Date:
Subject: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4
Next
From: julia.jacobson@arcor.de
Date:
Subject: Re: unixODBC fails to open psqlodbcw.so library on Mac OS X 10.4