packaging bug for tcl/tk ?

David Jansen jansen at strw.leidenuniv.nl
Tue Oct 12 19:50:21 UTC 2004


After compiling a package which is linked to tcl/tk I noticed it doesn't
want to run on other machines. It turns out that the package was linked
using -ltcl -ltk, so it requires libtcl.so and libtk.so, but:
$ rpm -qf /usr/lib/libtcl.so
tcl-devel-8.4.5-7
$ rpm -qf /usr/lib/libtk.so
tk-devel-8.4.5-8

So those libraries are part of the -devel rpms. Is this a bug in
packaging, or should software explicitly link to a specific version,
e.g. -ltcl8.4 -ltk8.4 ? (since libtcl8.4.so is part of the tcl-8.4.5-7
rpm). 
Or is it really necessary to have these -devel rpms present on every
machine? (which would be problematic since tk-devel has a dependency on
the X devel rpms so this would pull in a lot of additional stuff)

David Jansen





More information about the fedora-list mailing list