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
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users