I installed XChat on an Arch Linux system. Every time I run it, I get the following error message:
Python interface loaded Perl interface loaded AutoLoad failed for: /usr/lib/xchat/plugins/tcl.so libtcl8.5.so: cannot open shared object file: No such file or directory
So while the plugins for Python and Perl are loaded correctly, the Tcl plugin is not. In fact,
perl packages are installed on my system, while
tcl package is not. Installing
tcl fixes the problem.
tcl, I get:
ldd /usr/lib/xchat/plugins/tcl.so | grep tcl libtcl8.5.so => not found
tcl, I get:
ldd /usr/lib/xchat/plugins/tcl.so | grep tcl libtcl8.5.so => /usr/lib/libtcl8.5.so (0x00007fceba533000)
It seems that
tcl is not a required dependency of
xchat, but an optional one:
pacman -Qi xchat ... Optional Deps : enchant: for spell checking support tcl: for tcl plugin python2: for python plugin ...
Why is this the case? That is, why the
tcl package is not installed along with
xchat by default? Isn't
xchat broken without
I filed a bug more than two years ago, but I never really understood why things are this way in Arch Linux land. Please notice that while this bug is old, I'm only running this distribution on a daily basis since a couple of months, so I'm an Arch Linux newbie.
I could have asked on Arch Linux forums or mailing lists, but I'm quite interested in knowing the point of view of other Linux distributions users. Arch Linux users are also welcome, of course.
- The error message I get when running XChat without
tclinstalled is clearly visible in the GUI, in the same place where messages are displayed.
- My question can also be reworded in the following way: why XChat, despite having clearly been built with
--enable-tclor equivalent passed to the
configurescript, can be installed without a mandatory dependency on the
tclpackage? If one don't want
tcl, he should use
EDIT. I opened a thread on the Arch Linux forum, but I didn't get a satisfying answer. So I checked Debian and Gentoo, and it seems they don't have this problem.