On 08/13/09 02:23, Michael Sicotte wrote:
On Aug 12, 2009, at 3:31 AM, Stephan Bergmann wrote:
It should be possible to alter the problematic parts after the fact
using Mac OS X's install_name_tool. If you send me the output of
running "otool -L" on the dylib, I can send you the necessary
install_name_tool command line.
-Stephan
otool -L postgresql-sdbc.uno.dylib
postgresql-sdbc.uno.dylib:
@__________________________________________________OOO/postgresql-sdbc.uno.dylib
(compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current
version 227.0.0)
@loader_path/../ure-link/lib/libuno_cppu.dylib.3 (compatibility
version 0.0.0, current version 0.0.0)
@loader_path/../ure-link/lib/libuno_cppuhelpergcc3.dylib.3
(compatibility version 0.0.0, current version 0.0.0)
@loader_path/../ure-link/lib/libuno_sal.dylib.3 (compatibility
version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.4)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
otool -L postgresql-sdbc-impl.uno.dylib
postgresql-sdbc-impl.uno.dylib:
@__________________________________________________OOO/postgresql-sdbc-impl.uno.dylib
(compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current
version 227.0.0)
@loader_path/../ure-link/lib/libuno_cppu.dylib.3 (compatibility
version 0.0.0, current version 0.0.0)
@loader_path/../ure-link/lib/libuno_cppuhelpergcc3.dylib.3
(compatibility version 0.0.0, current version 0.0.0)
@loader_path/../ure-link/lib/libuno_sal.dylib.3 (compatibility
version 0.0.0, current version 0.0.0)
@loader_path/../ure-link/lib/libuno_salhelpergcc3.dylib.3
(compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.4)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
Lets try running
install_name_tool \
-change @loader_path/../ure-link/lib/libuno_cppu.dylib.3 \
@executable_path/urelibs/libuno_cppu.dylib.3 \
-change @loader_path/../ure-link/lib/libuno_cppuhelpergcc3.dylib.3 \
@executable_path/urelibs/libuno_cppuhelpergcc3.dylib.3 \
-change @loader_path/../ure-link/lib/libuno_sal.dylib.3 \
@executable_path/urelibs/libuno_sal.dylib.3 \
postgresql-sdbc.uno.dylib
and similarly for postgresql-sdbc-impl.uno.dylib (whatever the latter is
good for; include an additional -change X Y for
libuno_salhelpergcc3.dylib.3 there).
Hope that helps (wrote it down without actually trying it out, so it
might have minor typos),
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: mac-unsubscr...@porting.openoffice.org
For additional commands, e-mail: mac-h...@porting.openoffice.org