Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236577 - gnome-extra/gtkhtml-2.11.1 - /usr/lib64/libGL.so: could not read symbols: File in wrong format
Summary: gnome-extra/gtkhtml-2.11.1 - /usr/lib64/libGL.so: could not read symbols: Fil...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-03 15:00 UTC by Jerome
Modified: 2008-09-15 07:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome 2008-09-03 15:00:40 UTC
When emerging sci-mathematics/scilab-4.1.2 with USE="gtk java -Xaw3d -ocaml -debug" it requires gtkhtml-2.11.1 as a dependency. When emerging gtkhtml it dies on a compile error complaining about /usr/lib/libGL.so. This file is a symbolic link to
/usr/lib/libGL.so -> /usr/lib32/opengl/xorg-x11/lib/libGL.so
All posts with a similar issue with libGL.so are related to nvidia issues. However, I don't have an nvidia card. I have an Intel integrated 945GM graphics card. I have no nvidia drivers installed.

Reproducible: Always

Steps to Reproduce:
1.emerge scilab with USE="gtk"
2.
3.

Actual Results:  
x86_64-pc-linux-gnu-gcc -shared .libs/gtkhtmlcontext.o -Wl,--whole-archive ../libgtkhtml/css/.libs/libhtmlcss.a ../libgtkhtml/document/.libs/libhtmldocument.a ../libgtkhtml/dom/.libs/libdom.a ../libgtkhtml/graphics/.libs/libhtmlgraphics.a ../libgtkhtml/layout/.libs/libhtmllayout.a ../libgtkhtml/util/.libs/libhtmlutil.a ../libgtkhtml/view/.libs/libhtmlview.a -Wl,--no-whole-archive -L/usr/lib64 /usr/lib64/libpangoft2-1.0.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libglitz-glx.so /usr/lib64/libglitz.so /usr/lib64/libGL.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXi.so /usr/lib64/libXext.so -lpthread /usr/lib64/libpng12.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpixman-1.so -lz -lm /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so /usr/lib64/libxml2.so -march=nocona -Wl,-soname -Wl,libgtkhtml-2.so.0 -o .libs/libgtkhtml-2.so.0.0.0
/usr/lib64/libGL.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libgtkhtml-2.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-extra/gtkhtml-2.11.1/work/libgtkhtml-2.11.1/libgtkhtml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gtkhtml-2.11.1/work/libgtkhtml-2.11.1/libgtkhtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gtkhtml-2.11.1/work/libgtkhtml-2.11.1'
make: *** [all] Error 2
*
* ERROR: gnome-extra/gtkhtml-2.11.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3072: Called gnome2_src_compile
* environment, line 2409: Called die
* The specific snippet of code:
* emake || die "compile failure"
* The die message:
* compile failure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-extra/gtkhtml-2.11.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gtkhtml-2.11.1/temp/environment'. 

Expected Results:  
Expected it to go smoothly and install scilab.

emerge --info

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Sun, 13 Jul 2008 16:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion bcmath berkdb bzip cdr cern cgi clamav cli cracklib crypt cups dbus dri dvd dvdr dvdread emacs encode ffmpeg fftw firefox flac fortran ftp gdbm gif glitz gnome gnuplot gpm gstreamer gtk gtkhtml hal hdaps hddtemp iconv ipv6 isdnlog java javascript jpeg lame latex ldap lm_sensors mad madwifi mdnsresponder-compat midi mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl php plotutils png ppds pppd python qt3 quicktime raw readline reflection rss samba sdl server session spell spl sse sse2 ssl svg tcpd threads tiff truetype unicode usb vnc vorbis wifi x264 xemacs xine xml xorg xosd xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel i810 i945 v41 vesa vga fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Computer Specs:

Lenovo T60
Processor: Intel Core 2 Duo T7200
Graphics: Intel Mobile 945GM
Wireless: Atheros AR5212 NIC
Kernel: 2.6.25-gentoo-rc6 64-bit
Comment 1 Jerome 2008-09-03 15:04:25 UTC
emerge --info

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Sun, 13 Jul 2008 16:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LANG="C"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion bcmath berkdb bzip cdr cern cgi clamav cli cracklib crypt cups dbus dri dvd dvdr dvdread emacs encode ffmpeg fftw firefox flac fortran ftp gdbm gif glitz gnome gnuplot gpm gstreamer hal hdaps hddtemp iconv ipv6 isdnlog java javascript jpeg lame latex ldap lm_sensors mad madwifi mdnsresponder-compat midi mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl php plotutils png ppds pppd python qt3 quicktime raw readline reflection rss samba sdl server session spell spl sse sse2 ssl svg tcpd threads tiff truetype unicode usb vnc vorbis wifi x264 xemacs xine xml xorg xosd xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel i810 i945 v41 vesa vga fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-03 22:18:44 UTC
Could you give us more information about /usr/lib64/libGL.so, please?
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-09-03 22:27:25 UTC
could you run eselect opengl list and then set the xorg-x11 one if it isn't selected already. Having links in lib32 sounds weird to me on a 64 bit box.
Comment 4 Jerome 2008-09-04 18:11:11 UTC
I'm not sure what other information about libGL.so I can give. I'm not too savy with linux, so I'm not clear on what you mean by more information. In terms of selecting xorg-x11, it is selected. There is no other option installed.

# eselect opengl list
Available OpenGL implementations:
[1] xorg-x11 * 

I don't have any other OpenGL implementations available. I agree that it is weird that I have inks to lib32. I'm really not clear why that is. I was playing around with Compiz a month or so ago but never put in enough time to try to get it to work. I don't know if that could be part of the issue.

Thanks for your help

Jerome
Comment 5 Jerome 2008-09-04 18:15:11 UTC
Also, sorry but I realized that I talk about /usr/lib64/libGL.so. I thought I did. It is also symbolically linked to /usr/lib32

/usr/lib64/libGL.so -> /usr/lib32/opengl/xorg-x11/lib/libGL.so
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-09-14 22:05:42 UTC
That's absolutely broken, and won't work.  I'm not sure how it happened, but the fix is easy:
/usr/lib64/libGL.so -> /usr/lib64/opengl/xorg-x11/lib/libGL.so

Make the symlink look like that.
Comment 7 Jerome 2008-09-15 07:06:45 UTC
Thank you, that worked. Don't know why that didn't occur to me before. Sorry for taking up BugZilla space.

Jerome