[Insight-users] problems building shared libs on Mac OSX 10.3.2
Rodrigo Vivanco
rvivanco at cs.umanitoba.ca
Tue, 9 Mar 2004 20:12:00 -0600
Hello,
I've succesfully installed and compiled the ITK source, examples and test code
with the shared libraries turned off. I've written my own test programs using
the built ITK libs with no problem. However, the shared lib option needs to be
oN to use the SWIG bindings to Python, but when that setting is set TRUE with
ccmake and the generated Makefile used to build ITK, the following compiler
error occurs (after other files have been built it fails here) :
Building object file dtrmm.o...
Building object file dtrmv.o...
Building object file dtrsv.o...
Building object file i_dnnt.o...
Building object file triangle.o...
Building shared library /Users/vivanco/ITK/itk_bin/bin/libitknetlib.dylib...
ld: common symbols not allowed with MH_DYLIB output format with the
-multi_module option
rpoly.o definition of common _global_ (size 4232)
/usr/bin/libtool: internal link edit command failed
make[9]: *** [/Users/vivanco/ITK/itk_bin/bin/libitknetlib.dylib] Error 1
make[8]: *** [default_target] Error 2
make[7]: *** [default_target_netlib] Error 2
make[6]: *** [default_target] Error 2
make[5]: *** [default_target_v3p] Error 2
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_vxl] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Utilities] Error 2
make: *** [default_target] Error 2
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/