Philipp Kraus
2013-10-22 10:54:55 UTC
Hello,
I use SOCI under OSX 10.8 (Mountain Lion) and during the compiling process cmake create the library information
libsoci_empty.3.2.2.dylib:
../build/soci/3.2.2/lib/libsoci_empty.3.2.dylib (compatibility version 3.2.0, current version 3.2.2)
../build/soci/3.2.2/lib/libsoci_core.3.2.dylib (compatibility version 3.2.0, current version 3.2.2)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 56.0.0)
The binary data has stored the path of the compiling directory. I can show this information with "otool -L" and
can change this with "install_name <*.dylib> @loaderpath" but how can I add the "install name" parameter to
the linker command? I must put the command "-Wl,-install_name,libsoci_empty.3.2.2.dylib" to the build command
and this command must be different for each library which is build.
Thanks
Phil
I use SOCI under OSX 10.8 (Mountain Lion) and during the compiling process cmake create the library information
libsoci_empty.3.2.2.dylib:
../build/soci/3.2.2/lib/libsoci_empty.3.2.dylib (compatibility version 3.2.0, current version 3.2.2)
../build/soci/3.2.2/lib/libsoci_core.3.2.dylib (compatibility version 3.2.0, current version 3.2.2)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 56.0.0)
The binary data has stored the path of the compiling directory. I can show this information with "otool -L" and
can change this with "install_name <*.dylib> @loaderpath" but how can I add the "install name" parameter to
the linker command? I must put the command "-Wl,-install_name,libsoci_empty.3.2.2.dylib" to the build command
and this command must be different for each library which is build.
Thanks
Phil