Summary: | mail-client/thunderbird - thunderbird: XPCOMGlueLoad error for file /usr/lib64/thunderbird/libxpcom.so: libxul.so: cannot open shared object file: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benjamin Schindler <beschindler> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | leho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Benjamin Schindler
2013-02-26 11:45:27 UTC
No emerge --info nothing, how do you expect to receive help when you have not provided the basic information that would be required in order for us to duplicate your build enviroment? Yes, I'm sorry about that, completely forgot: bschindl@hundertwasser ~ $ emerge --info Portage 2.1.11.52 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.2.12-gentoo x86_64) ================================================================= System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5430_@_2.66GHz-with-gentoo-2.1 KiB Mem: 66114700 total, 59365816 free KiB Swap: 2096476 total, 2096476 free Timestamp of tree: Wed, 27 Feb 2013 06:15:01 +0000 ld GNU ld (GNU Binutils) 2.22 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo wdzierzan local ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula googleearth AdobeFlash-10.1 Oracle-BCLA-JavaSE AdobeFlash-10.3 skype-4.0.0.7-copyright" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb /var/lib/redmine/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /var/lib/redmine/config/locales /var/lib/redmine/config/settings.yml" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ " LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j16" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/wdzierzan /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac accessibility acl alsa amd64 bash-completion berkdb bzip2 cairo chm cleartype cli cmake consolekit cracklib crypt cups cupsddk curl cxx dbus dri dvd encode exif expat fam ffmpeg fontconfig fortran gdbm gif git gnome gold gphoto2 gpm gtk gudev hwdb iconv icu imagemagick inotify ipv6 jpeg jpeg2k kde kdrive kerberos kpathsea latex ldap libnotify lm_sensors mad mercurial mmx mng modules mp3 msn mudflap multilib mysql ncurses nls nptl ogg opencl opengl openmp oscar pam pch pcre pdf perl plasma png policykit ppds pulseaudio python qt3support qt4 raw rdp readline samba sasl sdl semantic-desktop session snmp sound spell sql sse sse2 ssl startup-notification subversion svg taglib tcpd theora threads tiff truetype udev unicode upnp valgrind vim-syntax vorbis webkit x264 xattr xcb xcomposite xinerama xmp xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON If you need more info, just let me know Well how about some ldd outputs for the respective libraries..? Okay, so thunderbird itself: ldd /usr/binthunderbird linux-vdso.so.1 (0x00007ffffa7ff000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fec5abb3000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fec5a9af000) libm.so.6 => /lib64/libm.so.6 (0x00007fec5a6ba000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/libstdc++.so.6 (0x00007fec5a3b6000) libc.so.6 => /lib64/libc.so.6 (0x00007fec5a00e000) /lib64/ld-linux-x86-64.so.2 (0x00007fec5add0000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/libgcc_s.so.1 (0x00007fec59df8000) bschindl@hundertwasser /usr/lib64/thunderbird $ ldd libxpcom.so linux-vdso.so.1 (0x00007fff64b4d000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe701895000) libxul.so => not found libc.so.6 => /lib64/libc.so.6 (0x00007fe7014ec000) /lib64/ld-linux-x86-64.so.2 (0x00007fe701cf7000) So libxul.so is missing. However, bschindl@hundertwasser /usr/lib64/thunderbird $ ls -l libxul.so -rwxr-xr-x 1 root root 37931160 May 21 12:47 libxul.so In other words (as described in my initial post), thunderbird logically works when setting LD_LIBRARY_PATH manually. For some reason, on that machine only, the library path isn't set as its supposed to. What I don't understand - why does it actually find libxpcom, but then its unable to find libxul? I should add - I have rebuilt thunderbird a number of times in the meantime. Also, revdep-rebuild, emerge @preserved-rebuild was run multiple times. So linking consistency is at least considered fine on that system. (In reply to Benjamin Schindler from comment #4) > Okay, so thunderbird itself: > > ldd /usr/binthunderbird > linux-vdso.so.1 (0x00007ffffa7ff000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fec5abb3000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007fec5a9af000) > libm.so.6 => /lib64/libm.so.6 (0x00007fec5a6ba000) > libstdc++.so.6 => > /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/libstdc++.so.6 (0x00007fec5a3b6000) > libc.so.6 => /lib64/libc.so.6 (0x00007fec5a00e000) > /lib64/ld-linux-x86-64.so.2 (0x00007fec5add0000) > libgcc_s.so.1 => > /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/libgcc_s.so.1 (0x00007fec59df8000) > > bschindl@hundertwasser /usr/lib64/thunderbird $ ldd libxpcom.so > linux-vdso.so.1 (0x00007fff64b4d000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe701895000) > libxul.so => not found > libc.so.6 => /lib64/libc.so.6 (0x00007fe7014ec000) > /lib64/ld-linux-x86-64.so.2 (0x00007fe701cf7000) > > So libxul.so is missing. However, > > bschindl@hundertwasser /usr/lib64/thunderbird $ ls -l libxul.so > -rwxr-xr-x 1 root root 37931160 May 21 12:47 libxul.so > > In other words (as described in my initial post), thunderbird logically > works when setting LD_LIBRARY_PATH manually. For some reason, on that > machine only, the library path isn't set as its supposed to. What I don't > understand - why does it actually find libxpcom, but then its unable to find > libxul? The LD_LIBRARY_PATH is setup via thunderbird when executed, you should refer to run-mozilla.sh for further debugging. I ran into this when my dev-libs/icu was out of date compared to my build box. So def. check your "downstream" libraries with ldd. (In reply to Leho Kraav (:macmaN @lkraav) from comment #7) > I ran into this when my dev-libs/icu was out of date compared to my build > box. So def. check your "downstream" libraries with ldd. While I'm not sure what you mean with out-of-date compared to the build (thunderbird?), I have the impression this is not the case. Both version are latest stable: [ebuild R ] dev-libs/icu-51.1:0/51.1 [ebuild R ] mail-client/thunderbird-17.0.6 So guess I have to dig into the run-mozilla.sh script. I'm not very good at bash scripting, but lets see I build my binaries on a server and run binpkgs on my laptop. Server sometimes has more up to date packages it builds against and when laptop hasn't been updated for such dependencies, exactly this subject type of stuff happens. Are you still having issues? Please let us know so we can get this resolved. If you can still reproduce please update bug and reopen |