[pkg-boost-devel] Bug#501808: mixing static and dynamic objects?

Steve M. Robbins steve at sumost.ca
Fri Oct 10 17:50:03 UTC 2008


Hi,

I think you're misinterpreting what the linker is telling you.  In
your log http://pastebin.com/m1ee58afd, line 2, we see

    c++ -fPIC .... -o libgame_library.so ... -Wl,-Bstatic -lboost_regex ...

which means you are creating a shared object (libgame_library.so) using
static libraries (libboost_regex, etc).  The linker is saying that you
shouldn't do that.

Please remove -Wl,-Bstatic and let me know if that fixes your problem.

Cheers,
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20081010/8efa0dc5/attachment.pgp 


More information about the pkg-boost-devel mailing list