Duncan wrote: > Chris Brennan <[EMAIL PROTECTED]> posted [EMAIL PROTECTED], > excerpted below, on Fri, 29 Feb 2008 11:46:21 -0500: > >> I'm actually having the same issue as this w/ libqt-mt.so ... my problem >> this, is gimp won't build because of it. below is the output. >> >> >> /usr/qt/3/lib/libqt-mt.so: could not read symbols: File in wrong format >> collect2: ld returned 1 exit status >> make[2]: *** [test-poppler-qt] Error 1 make[2]: Leaving directory >> `/var/tmp/portage/app-text/poppler-bindings-0.6.1/work/poppler-0.6.1/qt' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/var/tmp/portage/app-text/poppler-bindings-0.6.1/work/poppler-0.6.1' >> make: *** [all] Error 2 > > Hmm... so what about /usr/qt/3/lib/libqt-mt.so ? Here, it's a symlink > pointing to libqt-mt.so.3, a symlink pointing to libqt-mt.so.3.3, again a > symlink, pointing at libqt-mt.so.3.3.8, which is the actual shared-object > library file.
the point was the error msg from the emerge output about wrong format. > If you have a valid set of symlinks, pick any one of them and see what > readelf -h says about it. If the class entry (right under magic) is > anything other than ELF64, then you have a corrupted library and probably > need to remerge qt (be sure you remerge qt3 not 4, if you have it merged > as well). If it's ELF64 and appears to be readable, then you have other > deeper problems. I have re-emerged qt-3 numerous times, here is the output of readelf [EMAIL PROTECTED] ~ $ readelf -h /usr/qt/3/lib/libqt-mt.so.3.3.8 ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: DYN (Shared object file) Machine: Intel 80386 Version: 0x1 Entry point address: 0x1b2000 Start of program headers: 52 (bytes into file) Start of section headers: 7262824 (bytes into file) Flags: 0x0 Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 6 Size of section headers: 40 (bytes) Number of section headers: 25 Section header string table index: 24 [EMAIL PROTECTED] ~ $ > -- gentoo-amd64@lists.gentoo.org mailing list