As example, firefox-bin depends on libEGL.so.1: $ firefox-bin /opt/firefox/firefox-bin: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory Trying to fix this with revdep-rebuild also fails: ... >>> Installing (1 of 1) app-emulation/emul-linux-x86-gtklibs-20110129 * Generating pango modules listing... * Generating gtk+ immodules/gdk-pixbuf loaders listing... gtk-query-immodules-2.0-32: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory Reverting to app-emulation/emul-linux-x86-gtklibs-20100915 undoes the damage and allows firefox-bin to execute normally. Reproducible: Always Steps to Reproduce: 1. emerge -uDN world (to merge app-emulation/emul-linux-x86-gtklibs-20110129) 2. 3. # emerge --info Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-_i5_CPU_M_540_@_2.53GHz-with-gentoo-1.12.14 Timestamp of tree: Tue, 15 Feb 2011 02:45:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.cs.wmich.edu/gentoo http://www.cyberuse.com/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.hoobly.com/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://lug.mtu.edu/gentoo/ http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://mirrors.rit.edu/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/var/lib/layman/pentoo" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="acl alsa amd64 apic berkdb bzip2 cdr clflush cli cmov constant_tsc cracklib crypt cups cx8 cxx dbus de dri dvd fortran fpu fxsr gdbm gpm iconv ipv6 kde lahf_lm lm mca mce mmx modules monitor msr mtrr mudflap multilib ncurses nls nptl nptlonly nx openmp pae pam pat pcre perl pge phonon pni pppd pse pse36 python qt3support qt4 readline rep_good sep session sse sse2 ssl ssse3 syscall sysfs tcpd tsc unicode up vme xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I cannot reproduce, /usr/lib32/libEGL.so.1.0 comes from app-emulation/emul-linux-x86-opengl-20110129, do you have it installed?
(In reply to comment #0) > As example, firefox-bin depends on libEGL.so.1: > > $ firefox-bin > /opt/firefox/firefox-bin: error while loading shared libraries: libEGL.so.1: > cannot open shared object file: No such file or directory > This maybe would mean firefox-bin should RDEPEND on opengl 32 bits libs > Trying to fix this with revdep-rebuild also fails: > > ... > >>> Installing (1 of 1) app-emulation/emul-linux-x86-gtklibs-20110129 > * Generating pango modules listing... > * Generating gtk+ immodules/gdk-pixbuf loaders listing... > gtk-query-immodules-2.0-32: error while loading shared libraries: libEGL.so.1: > cannot open shared object file: No such file or directory > > Reverting to app-emulation/emul-linux-x86-gtklibs-20100915 undoes the damage > and allows firefox-bin to execute normally. > gnome team, do you have any idea about why gtk-query-immodules-2.0* are being linked to /usr/lib/libEGL.so.1 even when x11-libs/gtk+-2.22.1-r1 doesn't RDEPEND on mesa? $ ldd /usr/bin/gtk-query-immodules-2.0 |grep EGL libEGL.so.1 => /usr/lib/libEGL.so.1 (0x00007f7a33137000)
ldd does not show linked libs. Use readelf -d instead. Using readelf, you can see that's it's actually libgtk-x11-2-0.so that is linked against libEGL.so.1. This is strange though as running git grep "egl" on gtk+ git repository turns out nothing.
(In reply to comment #3) > ldd does not show linked libs. Use readelf -d instead. Using readelf, you can > see that's it's actually libgtk-x11-2-0.so that is linked against libEGL.so.1. > Do you get that linking also on "native" lib? In my case looks that only emul one is wrongly linked to a lot of other libs (and I don't know why :-( ) $ readelf -d /usr/lib64/libgtk-x11-2.0.so Dynamic section at offset 0x406898 contains 40 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libgdk-x11-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libpangocairo-1.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libXfixes.so.3] 0x0000000000000001 (NEEDED) Shared library: [libatk-1.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libcairo.so.2] 0x0000000000000001 (NEEDED) Shared library: [libX11.so.6] 0x0000000000000001 (NEEDED) Shared library: [libgdk_pixbuf-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgio-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libpangoft2-1.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libpango-1.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libm.so.6] 0x0000000000000001 (NEEDED) Shared library: [libfontconfig.so.1] 0x0000000000000001 (NEEDED) Shared library: [libgobject-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgmodule-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0] 0x0000000000000001 (NEEDED) Shared library: [libglib-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000e (SONAME) Library soname: [libgtk-x11-2.0.so.0] 0x000000000000000c (INIT) 0x349d269930 0x000000000000000d (FINI) 0x349d4c8a58 0x0000000000000004 (HASH) 0x349d2001c8 0x000000006ffffef5 (GNU_HASH) 0x349d2078c0 0x0000000000000005 (STRTAB) 0x349d22e120 0x0000000000000006 (SYMTAB) 0x349d20d618 0x000000000000000a (STRSZ) 147800 (bytes) 0x000000000000000b (SYMENT) 24 (bytes) 0x0000000000000003 (PLTGOT) 0x349d806fe8 0x0000000000000002 (PLTRELSZ) 39360 (bytes) 0x0000000000000014 (PLTREL) RELA 0x0000000000000017 (JMPREL) 0x349d25ff70 0x0000000000000007 (RELA) 0x349d254ea0 0x0000000000000008 (RELASZ) 45264 (bytes) 0x0000000000000009 (RELAENT) 24 (bytes) 0x000000006ffffffe (VERNEED) 0x349d254e10 0x000000006fffffff (VERNEEDNUM) 3 0x000000006ffffff0 (VERSYM) 0x349d252278 0x000000006ffffff9 (RELACOUNT) 1831 0x000000006ffffdf8 (CHECKSUM) 0x54906742 0x000000006ffffdf5 (GNU_PRELINKED) 2011-02-03T23:04:19 0x0000000000000000 (NULL) 0x0 $ readelf -d /usr/lib32/libgtk-x11-2.0.so Dynamic section at offset 0x3beba4 contains 61 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libgdk-x11-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libXinerama.so.1] 0x00000001 (NEEDED) Shared library: [libXi.so.6] 0x00000001 (NEEDED) Shared library: [libXrandr.so.2] 0x00000001 (NEEDED) Shared library: [libXext.so.6] 0x00000001 (NEEDED) Shared library: [libXcursor.so.1] 0x00000001 (NEEDED) Shared library: [libpangocairo-1.0.so.0] 0x00000001 (NEEDED) Shared library: [libXcomposite.so.1] 0x00000001 (NEEDED) Shared library: [libXdamage.so.1] 0x00000001 (NEEDED) Shared library: [libXfixes.so.3] 0x00000001 (NEEDED) Shared library: [libatk-1.0.so.0] 0x00000001 (NEEDED) Shared library: [libcairo.so.2] 0x00000001 (NEEDED) Shared library: [libpixman-1.so.0] 0x00000001 (NEEDED) Shared library: [libEGL.so.1] 0x00000001 (NEEDED) Shared library: [libXrender.so.1] 0x00000001 (NEEDED) Shared library: [libX11.so.6] 0x00000001 (NEEDED) Shared library: [libxcb.so.1] 0x00000001 (NEEDED) Shared library: [libXau.so.6] 0x00000001 (NEEDED) Shared library: [libXdmcp.so.6] 0x00000001 (NEEDED) Shared library: [libGL.so.1] 0x00000001 (NEEDED) Shared library: [libgdk_pixbuf-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libpng14.so.14] 0x00000001 (NEEDED) Shared library: [libgio-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libresolv.so.2] 0x00000001 (NEEDED) Shared library: [libpangoft2-1.0.so.0] 0x00000001 (NEEDED) Shared library: [libpango-1.0.so.0] 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x00000001 (NEEDED) Shared library: [libfontconfig.so.1] 0x00000001 (NEEDED) Shared library: [libfreetype.so.6] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libexpat.so.1] 0x00000001 (NEEDED) Shared library: [libgobject-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libgmodule-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libdl.so.2] 0x00000001 (NEEDED) Shared library: [libgthread-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [librt.so.1] 0x00000001 (NEEDED) Shared library: [libglib-2.0.so.0] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000e (SONAME) Library soname: [libgtk-x11-2.0.so.0] 0x0000000c (INIT) 0x4e7ec7d0 0x0000000d (FINI) 0x4ea8b4f8 0x6ffffef5 (GNU_HASH) 0x4e7a3114 0x00000005 (STRTAB) 0x4e7beb08 0x00000006 (SYMTAB) 0x4e7a8e68 0x0000000a (STRSZ) 148154 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000003 (PLTGOT) 0x4eb62ff4 0x00000002 (PLTRELSZ) 13128 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x4e7e9488 0x00000011 (REL) 0x4e7e5a38 0x00000012 (RELSZ) 14928 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffe (VERNEED) 0x4e7e5958 0x6fffffff (VERNEEDNUM) 3 0x6ffffff0 (VERSYM) 0x4e7e2dc2 0x6ffffffa (RELCOUNT) 1811 0x6ffffdf8 (CHECKSUM) 0x91136d4c 0x6ffffdf5 (GNU_PRELINKED) 2011-02-10T15:33:36 0x00000000 (NULL) 0x0 > This is strange though as running git grep "egl" on gtk+ git repository turns > out nothing. >
well, my analysis was on the native lib actually :)
Is your native lib from x86 or amd64? Maybe it's behaving differently depending on running arch and it would explain why in my case I get wrong linking on 32 bits but not in 64bits one
*** Bug 355359 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > I cannot reproduce, /usr/lib32/libEGL.so.1.0 comes from > app-emulation/emul-linux-x86-opengl-20110129, do you have it installed? > I hesitated to respond after the additional comments were made, but as I initiated this bug, I feel I ought to comment. I did not have app-emulation/emul-linux-x86-opengl installed, nor did anything depend on it. Installing it fixed my issues, of course, leaving only the dependency issue remaining.
*** Bug 355457 has been marked as a duplicate of this bug. ***
app-emulation/emul-linux-x86-gtklibs-20110129 needs app-emuñation/emul-linux-x86-opengl-20110129-r1 see revdep-rebuild result: * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries broken by a package update * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * Checking dynamic linking consistency [ 36% ] * broken /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/engines/libxfce.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/modules/libferret.so (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/gtk-2.0/modules/libgail.so (requires libEGL.so.1 libGL.so.1) [ 39% ] * broken /usr/lib32/libcairo-gobject.so.2.11000.2 (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/libcairo-script-interpreter.so.2.11000.2 (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/libcairo.so.2.11000.2 (requires libEGL.so.1 libGL.so.1) [ 40% ] * broken /usr/lib32/libgailutil.so.18.0.1 (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/libgdk-x11-2.0.so.0.2200.1 (requires libEGL.so.1 libGL.so.1) [ 42% ] * broken /usr/lib32/libgtk-x11-2.0.so.0.2200.1 (requires libEGL.so.1 libGL.so.1) [ 43% ] * broken /usr/lib32/libnotify.so.1.1.3 (requires libEGL.so.1 libGL.so.1) * broken /usr/lib32/libpangocairo-1.0.so.0.2800.3 (requires libEGL.so.1 libGL.so.1) [ 100% ] * Generated new 3_broken.rr * Assigning files to packages * /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/engines/libxfce.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/modules/libferret.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/modules/libgail.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libcairo-gobject.so.2.11000.2 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libcairo-script-interpreter.so.2.11000.2 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libcairo.so.2.11000.2 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libgailutil.so.18.0.1 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libgdk-x11-2.0.so.0.2200.1 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libgtk-x11-2.0.so.0.2200.1 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libnotify.so.1.1.3 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libpangocairo-1.0.so.0.2800.3 -> app-emulation/emul-linux-x86-gtklibs * Generated new 4_raw.rr and 4_owners.rr * Cleaning list of packages to rebuild * Generated new 4_pkgs.rr * Assigning packages to ebuilds * Generated new 4_ebuilds.rr * Evaluating package order * Generated new 5_order.rr * All prepared. Starting rebuild emerge --oneshot app-emulation/emul-linux-x86-gtklibs:0
(In reply to comment #3) > ldd does not show linked libs. Use readelf -d instead. Using readelf, you can > see that's it's actually libgtk-x11-2-0.so that is linked against libEGL.so.1. > gtk+ gets properly linked on my 32 bits systems, maybe because they have a nvidia card and their mesa is build as follows: [ebuild R ] media-libs/mesa-7.9.1 USE="classic gallium nptl -debug -gles -llvm -motif -pic (-selinux)" VIDEO_CARDS="-intel -mach64 -mga -nouveau -r128 -radeon -savage -sis -tdfx -via -vmware" 0 kB Gilles, what USEs do you have for mesa? Maybe some of them if causing gtk+ to be wrongly linked to mesa when it shouldn't
Calculating dependencies... done! [ebuild U ] media-libs/mesa-7.10.1 [7.10-r1] USE="classic gallium nptl -debug -gles -hardened -llvm -motif -pic (-selinux)" VIDEO_CARDS="intel -mach64 -mga -nouveau -r128 -radeon -savage -sis -tdfx -via -vmware" 0 kB
*** Bug 359375 has been marked as a duplicate of this bug. ***
I came across a similiar issue when trying to emerge www-plugins/adobe-flash. As a dependency adobe-flash pulled in www-plugins/nspluginwrapper. The build for nspluginwrapper failed with the following 2 lines: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libEGL.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib32/libgtk-x11-2.0.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libGL.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib32/libgtk-x11-2.0.so, not found (try using -rpath or -rpath-link) ran revdep-rebuild and came across the same issue described here. Emerging app-emulation/emul-linux-x86-opengl solved both issues. I'm guessing that app-emulation/emul-linux-x86-gtklibs needs to be pulled as a dependency for app-emulation/emul-linux-x86-opengl
+ 30 Mar 2011; Pacho Ramos <pacho@gentoo.org> + emul-linux-x86-gtklibs-20110129.ebuild: + RDEPEND on opengl stuff shouldn't be needed, but add it anyway until bug + #354943 is properly solved. + If "native" gtk+ is also being linked to EGL on 32 bits systems, this bug should probably be reassigned to to gnome team :-/
I just did a world upgrade, no application can start any more... thunar: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory revdep-rebuild -L libEGL.so.1 * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries using libEGL.so.1 * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Checking dynamic linking [ 30% ] * found /usr/lib32/egl/egl_dri2.so * found /usr/lib32/egl/egl_gallium.so * found /usr/lib32/egl/egl_glx.so [ 33% ] * found /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so * found /usr/lib32/gtk-2.0/2.10.0/engines/libxfce.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so * found /usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so * found /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so * found /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so * found /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so * found /usr/lib32/gtk-2.0/modules/libferret.so * found /usr/lib32/gtk-2.0/modules/libgail.so [ 35% ] * found /usr/lib32/libcairo-gobject.so.2.11000.2 * found /usr/lib32/libcairo-script-interpreter.so.2.11000.2 * found /usr/lib32/libcairo.so.2.11000.2 * found /usr/lib32/libgailutil.so.18.0.1 * found /usr/lib32/libgdk-x11-2.0.so.0.2200.1 [ 36% ] * found /usr/lib32/libgtk-x11-2.0.so.0.2200.1 [ 37% ] * found /usr/lib32/libnotify.so.1.1.3 * found /usr/lib32/libpangocairo-1.0.so.0.2800.3 [ 48% ] * found /usr/lib64/egl/egl_gallium.so [ 63% ] * found /usr/lib64/libcairo.so.2.11000.2 [ 100% ] * Generated new 3_broken.rr * Assigning files to packages * /usr/lib32/egl/egl_dri2.so -> app-emulation/emul-linux-x86-opengl * /usr/lib32/egl/egl_gallium.so -> app-emulation/emul-linux-x86-opengl * /usr/lib32/egl/egl_glx.so -> app-emulation/emul-linux-x86-opengl * /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/engines/libxfce.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/modules/libferret.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/gtk-2.0/modules/libgail.so -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libcairo-gobject.so.2.11000.2 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libcairo-script-interpreter.so.2.11000.2 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libcairo.so.2.11000.2 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libgailutil.so.18.0.1 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libgdk-x11-2.0.so.0.2200.1 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libgtk-x11-2.0.so.0.2200.1 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libnotify.so.1.1.3 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib32/libpangocairo-1.0.so.0.2800.3 -> app-emulation/emul-linux-x86-gtklibs * /usr/lib64/egl/egl_gallium.so -> media-libs/mesa * /usr/lib64/libcairo.so.2.11000.2 -> x11-libs/cairo * Generated new 4_raw.rr and 4_owners.rr * Cleaning list of packages to rebuild * Generated new 4_pkgs.rr * Assigning packages to ebuilds * Generated new 4_ebuilds.rr * Evaluating package order * Generated new 5_order.rr * All prepared. Starting rebuild emerge --complete-graph=y --oneshot --autounmask=n app-emulation/emul-linux-x86-gtklibs:0 app-emulation/emul-linux-x86-opengl:0 media-libs/mesa:0 x11-libs/cairo:0 .......... cairo fails with error: cairo-svg-surface.c:2838:19: warning: comparison between 'cairo_int_status_t' and 'enum _cairo_status' CCLD libcairo.la /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lEGL collect2: ld returned 1 exit status make[3]: *** [libcairo.la] Error 1 make[3]: Leaving directory `/tmp/portage/x11-libs/cairo-1.10.2-r1/work/cairo-1.10.2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/portage/x11-libs/cairo-1.10.2-r1/work/cairo-1.10.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/x11-libs/cairo-1.10.2-r1/work/cairo-1.10.2' make: *** [all] Error 2 emake failed I hope this helps you guys...
trying to be clever :) disi-bigtop ~ # ls /usr/lib32/libEGL.so* /usr/lib32/libEGL.so /usr/lib32/libEGL.so.1 /usr/lib32/libEGL.so.1.0 disi-bigtop ~ # ls /usr/lib64/libEGL.so* ls: cannot access /usr/lib64/libEGL.so*: No such file or directory disi-bigtop ~ # ln -s /usr/lib32/libEGL.so.1 /usr/lib64/libEGL.so.1 gives: disi@disi-bigtop ~ $ thunar thunar: error while loading shared libraries: libEGL.so.1: wrong ELF class: ELFCLASS32
masking =media-libs/mesa-7.11_rc1 solves the problem for me...
Yes, something is wrong with "egl" USE flag. I also experienced total b0rkage with mesa-7.11_rc1, recovering at the moment...
Your problems with 64 bits egl library are unrelated to this bug report, please open a different want if none already exists, thanks
This seems to be fixed with the latest emul set: $ qfile -v libEGL.so.1 media-libs/mesa-7.11.2 (/usr/lib64/libEGL.so.1) app-emulation/emul-linux-x86-opengl-20120127 (/usr/lib32/libEGL.so.1)
*** Bug 410149 has been marked as a duplicate of this bug. ***