Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124695 - x11-misc/xnview-1.70-r1 libstdc++.so.6: cannot open shared object file: No such file or directory
Summary: x11-misc/xnview-1.70-r1 libstdc++.so.6: cannot open shared object file: No su...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 126305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-02 13:33 UTC by mAhdi
Modified: 2006-03-15 14:26 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 mAhdi 2006-03-02 13:33:08 UTC
after update to xnview 1.70 from 1.50 I'm getting -

bash-2.05b$ xnview
xnview: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory 

i've searched my hdd and found out there's file with same name under oo.o dir, so i made symlink, but it didn't fix my problem

bash-2.05b$ xnview
** XnView v1.70 Copyright 1991-2005 Pierre-E Gougelet (Sep  6 2005/15:28:24) **
        Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)

     Type xnview -help, for more information
xnview: relocation error: xnview: symbol __strncpy_chk, version GLIBC_2.3.4 not defined infile libc.so.6 with link time reference 


bash-2.05b$ emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.14.90.0.8-r3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curldoc dts eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java jpeg kde lcms ldap libcaca libg++ libwww mad matroska mikmod mmx mng motif mp3 mpeg ncurses nls ogg oggvorbis openal opengl oss pam pcre pdflib perl png python qt quicktime readline ruby samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis wmf xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-02 13:38:15 UTC
Your gcc is way outdated, upgrade to 3.4.4-r1
Comment 2 mAhdi 2006-03-05 09:33:40 UTC
upgrade to gcc-3.4.4 and glibc 2.3.5 solved the problem.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-15 07:28:46 UTC
*** Bug 126305 has been marked as a duplicate of this bug. ***
Comment 4 Bruno Viaris 2006-03-15 14:26:24 UTC
This bug is not solved: 
on a gcc-3.3 system, "emerge xnview" results in a program that won't run.
gcc-3.3.4 is not "way too old": 2006.0 profile says >=sys-devel/gcc-3.3.4-r1.

Either we decide that xnview-1.70 depends on gcc-3.4, 
then a DEPEND >=sys-devel/gcc-3.4.0 has to be inserted in the ebuild, 
or the correct binary package has to be downloaded depending on the gcc version