Package: expect
Version: 5.45-1
Severity: normal

libexpect has undefined symbols as it is not linked against libtcl8.5
This should not be the case in public libraries. E.g.
dpkg-shlibdepcannot automatically add the package dependencies and you
can't link with it when the linker flag ld --as-needed is used [0, 1]:

ldd -r /usr/lib/libexpect.so
undefined symbol: Tcl_ErrnoMsg  (/usr/lib/libexpect.so)
undefined symbol: Tcl_Free      (/usr/lib/libexpect.so)
undefined symbol: Tcl_Alloc     (/usr/lib/libexpect.so)
undefined symbol: Tcl_ErrnoMsg  (/usr/lib/libexpect.so)

dpkg-shlibdep warns about it in the build log:
dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by
debian/expect/usr/lib/libexpect.so.5.45 found in none of the libraries.
dpkg-shlibdeps: warning: symbol Tcl_Free used by
debian/expect/usr/lib/libexpect.so.5.45 found in none of the libraries.
dpkg-shlibdeps: warning: symbol Tcl_Alloc used by
debian/expect/usr/lib/libexpect.so.5.45 found in none of the libraries.

[0] http://wiki.mandriva.com/en/Underlinking
[1] https://bugs.launchpad.net/ubuntu/+source/expect/+bug/885152

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to