GNOME Bugzilla – Bug 603566
Libraries with undefined symbols
Last modified: 2010-09-28 15:49:48 UTC
I'm one of the Debian EDS maintainer. While checking the libraries generated, I found libraries with undefined symbols. This indirect linking per se is not a big problem (yet) but causes package checking warnings. For example: dpkg-shlibdeps: warning: symbol __dn_expand used by debian/libexchange-storage1.2-3/usr/lib/libexchange-storage-1.2.so.3.0.0 found in none of the libraries. dpkg-shlibdeps: warning: symbol e_passwords_ask_password used by debian/libexchange-storage1.2-3/usr/lib/libexchange-storage-1.2.so.3.0.0 found in none of the libraries. [...] Above warnings said that libexchange-storage used functions from libedataserverui but was not linked against it. This may cause problems to programs using libexchange-storage other than Evolution (e.g. Anjal or sth else). Do you agree that this can be fixed by adding missing libraries to respective lib_*_LDADD? Or do you have any other concerns? Thank you.
Those libraries can be filtered by building with "-Wl,--no-allow-shlib-undefined".
Is this still an issue in Evolution-Data-Server-2.30?
Yan Li, Ping.
No, the problem is still in e-d-s 2.31. Without adding every libraries used to respective lib_*_LDADD, the problem won't go away automatically I think.
Can you post the exact warnings you're seeing (all of them)? The examples you gave don't apply anymore and E-D-S builds fine for me on Debian, which is where I turn to reproduce most of the linker errors that get reported.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!