Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 90196

Summary: Opera 8.00 can't find libjpeg.so.62
Product: Gentoo Linux Reporter: Rickard Närström <gentoo-bugzilla>
Component: Current packagesAssignee: Heinrich Wendel (RETIRED) <lanius>
Status: RESOLVED LATER    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rickard Närström 2005-04-23 22:57:03 UTC
After upgrading to opera 8.00 it can't find libjpeg.so.62 - this library is loaded during startup so opera can't be used at all

Reproducible: Always
Steps to Reproduce:
1. upgrade to opera 8.00
2. try to start opera

Actual Results:  
opera dosen't start - and in the controlling tty an error message about libjpeg.
so.62 can't be found

Expected Results:  
Opera suld start and use a 32bit libjpeg from one of the emul packages

# emerge info
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.5-
r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.11
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  8 2005, 10:57:20)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/
X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://
mirror.aiya.ru/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/"
LANG="sv_SE.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa anthy apache2 cdparanoia cdr cjk cups dvd dvdr emul-linux 
encode fb fbcon fbdev ffmpeg flac ftp gcj gd gif gnome gpm gtk gtk2 hal 
imagemagick insecure-drivers java jpeg matroska mikmod mime mp3 mplayer msn 
multilib mysql ncurses nls no-old-linux offensive ogg oggvorbis opengl oss png 
quicktime readline samba sdl spell ssl theora threads truetype truetype-fonts 
type1 type1-fonts uim unicode usb userlocales utf8 vcd vim vim-pager 
xchatdccserver xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


[ebuild     U ] www-client/opera-8.00 [7.54-r3] +spell -static 0 kB
[ebuild   R   ] app-emulation/emul-linux-x86-qtlibs-2.1  0 kB
[ebuild   R   ] app-emulation/emul-linux-x86-xlibs-2.1  +opengl 0 kB
(I downgraded to opera 7.54 to be abel to submit this bugreport)
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 02:57:03 UTC
i added media-libs/jpeg to the deps
Comment 2 Rickard Närström 2005-04-24 03:23:50 UTC
I don't think it will help - opera us a 32bit application - and media-libs/jpeg is a 64bit library. And as we all know a 32bit app can't use a 64bit lib
Comment 3 Rickard Närström 2005-04-24 03:27:03 UTC
I HAVE jpeg installd - so it won't help:
[ebuild   R   ] media-libs/jpeg-6b-r4  -debug 598 kB
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 03:43:56 UTC
then try to upgrade to the 2005.0 profile
Comment 5 Rickard Närström 2005-04-24 03:50:50 UTC
how to da that?
Comment 7 Rickard Närström 2005-04-24 09:48:12 UTC
Still not working:

/opt/opera/lib/opera/8.0-20050415.5/opera: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 15:05:00 UTC
what are your app-emulation/emul-* versions?
Comment 9 Rickard Närström 2005-04-24 15:12:24 UTC
[ebuild   R   ] app-emulation/emul-linux-x86-xlibs-2.1  +opengl 0 kB
[ebuild   R   ] app-emulation/emul-linux-x86-glibc-1000  0 kB
[ebuild   R   ] app-emulation/emul-linux-x86-qtlibs-2.1  0 kB
[ebuild   R   ] app-emulation/emul-linux-x86-baselibs-2.1  0 kB
[ebuild   R   ] app-emulation/emul-linux-x86-compat-1.0  1,200 kB
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 15:23:03 UTC
what about `locate libjpeg` ?
Comment 11 Rickard Närström 2005-04-24 15:32:09 UTC
# find / -name "libjpeg*"
/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/libjpeg.so
/usr/lib/libjpeg.a
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/lib/libjpeg.la
/usr/lib/libjpeg.so
/usr/share/doc/jpeg-6b-r4/libjpeg.doc.gz


It seems like media-libs/jpeg still just installs 64bit libs - I have rmerged it a few times
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 15:57:51 UTC
strange, there is a 32bit version provided by emul-libs-x86-baselibs, try to remerge this one
Comment 13 Rickard Närström 2005-04-24 22:26:36 UTC
good I now have a libjpeg.so.62 - but my libpthread.so.0 doesn't work

/opt/opera/lib/opera/8.0-20050415.5/opera: /lib32/libpthread.so.0: version `GLIBC_2.3.3' not found (required by /emul/linux/x86/usr/qt/3/lib/libqt-mt.so.3)
Comment 14 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-25 03:20:50 UTC
try to remerge the other emul-* packages
Comment 15 Rickard Närström 2005-04-25 12:04:13 UTC
Still does't work - I remerges the emul-* pakages and glibc
Comment 16 Rickard Närström 2005-04-26 22:14:02 UTC
I recompiled glibc with nptl and nptlonly in use - its now working.

Maybe we shuld add a future to portage - and let a package depend on an other package with some useflags applayd. - If the package don't have the useflags required it is remerged.
Comment 17 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-27 02:30:31 UTC
such a feature is being worked on (since ages ;)) until then i'll mark this LATER