Rép : [Boost-users] pd darwin Symbol not found

I found that I can't use static boost lib with my dylib program library. I test with all dylib (boost libraries and my libraries) or all static libraries, it runs in the two cases !!! --------------------------------------------------- Locatelli Jérôme Institut Laue-Langevin Service Contrôle des instruments 6 rue Jules Horowitz, BP 156 38042 Grenoble cedex 9 http://www.ill.fr/ Tel: 33 (0)4 76 20 76 27 Fax: 33 (0)4 76 20 77 00 ---------------------------------------------------

Locatelli Jérôme wrote:
I found that I can't use static boost lib with my dylib program library. I test with all dylib (boost libraries and my libraries) or all static libraries, it runs in the two cases !!!
"can't use" for what reason - which symbol is not found? I've never used Darwin, but are you mixing PIC (dylib) code with non-PIC code (static libs)? As a rule, this is a no-no. Try compiling your static libs with the PIC option (-kPIC ?). A+ Paul
participants (2)
-
Locatelli Jérôme
-
Paul Floyd