Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139407 - opera should depend on virtual/libstdc++ 3.3
Summary: opera should depend on virtual/libstdc++ 3.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
: 144260 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-06 04:16 UTC by Jamaludin Ahmad
Modified: 2006-09-07 07:40 UTC (History)
5 users (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 Jamaludin Ahmad 2006-07-06 04:16:03 UTC
want to try opera, but then found out that i can't run it due to inavalability of libstdc++.so.5 on my system.

jamal@eragon ~ $ scanelf -n /opt/opera/lib/opera/9.0-20060616.5/opera
 TYPE   NEEDED FILE
ET_EXEC libqt-mt.so.3,libX11.so.6,libXext.so.6,libSM.so.6,libICE.so.6,libpthread.so.0,libdl.so.2,libz.so.1,libstdc++.so.5,libm.so.6,libgcc_s.so.1,libc.so.6 /opt/opera/lib/opera/9.0-20060616.5/opera
Comment 1 Jorma Rus 2006-07-07 16:36:19 UTC
Have some fun! Change the ebuild and oldstuff beenotneeded nomore!

SRC_URI= >> Second line instead of first <<

x86? ( !qt-static? ( ${OPERA_URI}i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-${OPERALNG}.tar.bz2 ) )

x86? ( !qt-static? ( ${OPERA_URI}i386/shared/${PN}-${OPERAVER}.6-shared-qt.i386-${OPERALNG}.tar.bz2 ) )
Comment 2 Jamaludin Ahmad 2006-07-08 15:12:29 UTC
thanks for the info...
i have that fun now :)
Comment 3 Graham Murray 2006-08-12 11:47:32 UTC
(In reply to comment #1)

As gcc-3.4.6 is stable on x86, and this provides libstdc++.so.6, should the opera ebuild not be changed to install the .6-shared-qt version of opera on x86?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-18 00:07:53 UTC
*** Bug 144260 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2006-08-18 15:30:27 UTC
Please post your `emerge --info` and any error messages you find and any quirks you experience executing and/or using opera.
Comment 6 Jan Nárovec 2006-09-02 01:01:33 UTC
finn@finn ~ $ emerge --info
Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Sempron(tm)   2200+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa arts avi bash-completion berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds emboss encode fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal ipv6 isdnlog jpeg kde ldap libg++ mad mikmod mmx mmxext mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_void kernel_linux linguas_cs userland_GNU video_cards_nvidia video_cards_nv video_cards_radeon video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

finn@finn ~ $  opera
/opt/opera/lib/opera/9.0-20060616.5/opera: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2006-09-02 11:24:10 UTC
Fixed in opera-9.01-r1, but please test it and reopen this bug if needed. Thanks for reporting this.
Comment 8 adriancz 2006-09-02 14:18:09 UTC
(In reply to comment #7)
> Fixed in opera-9.01-r1, but please test it and reopen this bug if needed.
> Thanks for reporting this.
> 

On amd64 emul-linux-x86-compat-1.0-r1 provides /emul/linux/x86/usr/lib/libstdc++.so.5. Opera works without sys-libs/libstdc++-v3 so I think that Opera shouldn't depend on sys-libs/libstdc++-v3 when using amd64. emul-linux-x86-compat-1.0-r1 is all you need.


Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2006-09-03 06:24:03 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Fixed in opera-9.01-r1, but please test it and reopen this bug if needed.
> > Thanks for reporting this.
> > 
> 
> On amd64 emul-linux-x86-compat-1.0-r1 provides
> /emul/linux/x86/usr/lib/libstdc++.so.5. Opera works without
> sys-libs/libstdc++-v3 so I think that Opera shouldn't depend on
> sys-libs/libstdc++-v3 when using amd64. emul-linux-x86-compat-1.0-r1 is all you
> need.
> 

Team AMD64, please advise.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2006-09-03 08:12:14 UTC
Removing libstdc++ dep for x86 again. tx to Flameeyes and b33fc0d3 for their kind advice. Now both x86 and amd64 no longer RDEPEND on virtual/libstdc++ with USE="-qt-static", since the qt dependency already implies it anyway. What a learning experience this has been.