-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2011-01-17 12:18, Maarten L. Hekkelman wrote: > Op 15-01-11 23:13, Niels Thykier schreef: > >> I messed around a bit and the library appears to build just fine with >> - --no-add-needed (and --no-undefined), so it appears to be properly >> linked. > > Today I found out something is still wrong, when I tried to link to the > libzeep.a file the linker was not able to find the symbols. Trying to > get rid of the lintian error: 'unstripped-binary-or-object > ./usr/lib/libzeep.a' I clearly stripped too many symbols. However, using > > strip --strip-unneeded > > is not enough to keep lintian happy. What is going on here? I tried > rebuilding the static library without the -fPIC flag but that made no > difference (to lintian). (I now also understand I'm supposed to do that > anyway, using -fPIC for shared libraries only I mean). > > What symbols does lintian check for, and how am I supposed to get rid of > those (if that's at all possible?). > > For the record, I'm linking the shared library using the 'ld -r' > command, so I'm not using 'ar' or 'ranlib'. > > Best regards, > > -maarten > > >
Hey Libraries are always a heap of fun! I have not had this particular problem before, though I checked lintian and it checks for the following. If the output of "file library" contains "not stripped". If it does not match that, Lintian further checks for the presence of some unneeded sections (particularly ".comment" and ".note"). ~Niels -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJNNCpuAAoJEAVLu599gGRCQtQP/10VAr2xQYPFpb8Wh1yZoBrf 6R/VBJk896Lua206dEuOm7d/BCse2Q+pYYxKCsxuJJejKGFS4kTCk6RonKI+odxB LNDMvAxaRGL74mKpwmBkTe9g+dtafcbGcMM7N92EfHe3LGCskmBrz5nVrxfDLxZo TLKh83Q4nsiF5StU8zkZ6v5GaNV6Y0n6wYbxdbHfjEVKVXpPIIVRmVZBlA7I7vDh uaKbAOfoOlpJZRA/cGE6vvJdP/e11CSvZ+pZ2L+D7Ms7tjRX0/q3aiqO9NmN1Gzd +CgsdRQ1bd34Bnc/0F8VoYDfZTck1RTe+KNvlBDZl/PXUpbGcjXE2xvOQlCQ9KSD nYbWp+4pLCERm6BFpoFV4kpLZRstAsas6VayGdwF1YNfS/5BMq2DbvHA5HLvI5pL EmKIyOkrlUDnbjUwOzJOaVo4jg1Db7J/qAmiLJk9VMKGOpX4K2yHdxnnarwb/V/9 yrY4zOahX18Bw0SnMS4xcncXBcPUrM/hjxsWlN/vrRVlIv1TB99hzd7H1G/feY76 TPhQQJThZKmy/O1GwPtNW+ESQ2H5u/wEJ43MOSa6FGOhKWGoHNOr6k7rUsDji++l DrCKLY9fIxiVQ+2rpmsNTcDEyQMbK9xklxYqE/yh6x8AZAOgtZirr6S5KfEz0gcY 55ibYw7vPYdMlrldb0cL =7MSM -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

