Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152098 - app-arch/rar-3.6.0 wrong lib dependency
Summary: app-arch/rar-3.6.0 wrong lib dependency
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 05:14 UTC by pavel sanda
Modified: 2006-10-20 10:44 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 pavel sanda 2006-10-20 05:14:28 UTC
after emerging rar-3.6.0 and running i obtain the following error:

rar: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

i suppose there are wrong library dependencies.

rar-3.5.1 works for me.


emerge --info:
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.3.6, glibc-2.3.5-r1, 2.6.15-suspend2-r5 i686)
=================================================================
System uname: 2.6.15-suspend2-r5 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.14
Last Sync: Thu, 12 Oct 2006 01:01:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 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-r1
sys-devel/binutils:  2.16.1-r2
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="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="cs_CZ"
LINGUAS=""
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost:4040/gentoo-portage"
USE="x86 X alsa arts berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-20 05:19:50 UTC

*** This bug has been marked as a duplicate of 139094 ***
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-10-20 09:05:42 UTC
rar: error while loading shared libraries: libstdc++.so.6: cannot open shared
object file: No such file or directory

Did you forget to run source /etc/profile after upgrading your gcc? libstdc++.so.6 is provided by gcc-4*
betelgeuse@pena ~ $ qfile libstdc++.so.6
sys-devel/gcc (/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6)
app-office/openoffice-bin (/usr/lib/openoffice/program/libstdc++.s
Comment 3 pavel sanda 2006-10-20 09:44:54 UTC
im still running on gcc 3.3.6
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2006-10-20 09:58:53 UTC
The issue here could be that you have to have gcc-4.* installed. Do you have it installed but haven't switched to it yet?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-20 10:06:26 UTC
Well, we don't support gcc-3.3.6 any more. The dependencies are just fine. (I did check with rar-3.5.1, not 3.6.0, sorry for the wrong dupe).

Upgrade to gcc-3.4.x or 4.0, closing this.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2006-10-20 10:44:23 UTC
I modified 3.6.0 to show an ewarn if the system gcc is not new enough to run rar.