Emerging (upgrading from 2.0 pre1_r1) XChat 2.0 results in the error below. Reproducible: Always Steps to Reproduce: 1. emerge rsync 2. emerge -u xchat 3. Actual Results: gcc -shared tclplugin.lo -L/usr/lib -ltcl8.3 -lieee -lm -lssl -lcrypto -ldl /usr/lib/libglib-2.0.so -Wl,--export-dynamic -Wl,-soname -Wl,tcl.so -o .libs/tcl.so /usr/lib/libtcl8.3.so: file not recognized: File format not recognized collect2: ld returned 1 exit status make[3]: *** [tcl.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/xchat-2.0.0/work/xchat-2.0.0/plugins/tcl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xchat-2.0.0/work/xchat-2.0.0/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xchat-2.0.0/work/xchat-2.0.0' make: *** [all] Error 2 !!! ERROR: net-irc/xchat-2.0.0 failed. !!! Function src_compile, Line 56, Exitcode 2 !!! Compile failed
use -tcltk im not sure why the plugin wont compile, it does for me tried reinstalling tcl ?
perhaps this is a binutils bug ? what happens if you run `file /usr/lib/libtcl8.3.so` ?
Must have a corrupt tcl installation. I don't normally need to re-build anything but I did it anyway since the lib appeared corrupt. Now it reports 'Segmentation fault' which I believe to be normal when trying to execute a library file. Rebuilding xchat worked and this bug can be closed. Sorry for creating a panic :)
no panic here, no worries. 'file <filename>' describes the sort of file it sees, he didn't mean execute it or something (and file shouldnt segfault really).
I must not have read your post properly, it was one of those days. For the record: /usr/lib/libtcl8.3.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped I must have some filesystem problems as that's the 3rd file to be corrupt. Thanks for your patience, always a pleasure. -Paul