Please support VectorLinux!

Author Topic: Learning more about dependencies.... libstdc++.so.6 (VL 6.0 SOHO)  (Read 1474 times)

DrCR

  • Vectorite
  • ***
  • Posts: 166
I just installed a game called Crayon Physics Deluxe (part of the Humble Bundle going on right now). The tar.gz installer package had it's own lib32 directory, but it was throwing all kinds of dep issues, so I just renamed the bundled lib32 directory to lib.o and ran a ldd on the launcher. I'm getting the following.

Code: [Select]
DrCRcomp:/~/.crayon/crayon-physics-deluxe_55_i386
DrCR:$ ldd launcher
./launcher: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./launcher)
        linux-gate.so.1 =>  (0xb7726000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7646000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7575000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb74fa000)
        libGLEW.so.1.5 => /usr/lib/libGLEW.so.1.5 (0xb74ba000)
        libSDL_image-1.2.so.0 => /usr/lib/libSDL_image-1.2.so.0 (0xb749f000)
        libSDL_mixer-1.2.so.0 => /usr/lib/libSDL_mixer-1.2.so.0 (0xb7438000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6994000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb66ff000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6613000)
        libm.so.6 => /lib/libm.so.6 (0xb65ed000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb65d0000)
        libc.so.6 => /lib/libc.so.6 (0xb6483000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb646c000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6468000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb6352000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6344000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb633d000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6334000)
        libvga.so.1 => /usr/lib/libvga.so.1 (0xb62b8000)
        libnvidia-tls.so.275.09.07 => /usr/lib/tls/libnvidia-tls.so.275.09.07 (0xb62b5000)
        libnvidia-glcore.so.275.09.07 => /usr/lib/libnvidia-glcore.so.275.09.07 (0xb49e3000)
        librt.so.1 => /lib/librt.so.1 (0xb49da000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb49c4000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb49bb000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0xb4996000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb4976000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb4922000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb490e000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb4909000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb4839000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb4816000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb47a1000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb4766000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb475d000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb4746000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb471d000)
        /lib/ld-linux.so.2 (0xb7727000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb4705000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb4702000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb46fc000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb46ad000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb46a9000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb4689000)

It's the /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./launcher) part I'm needing help with. libstdc++.so.6 is in /usr/lib, so what's with the 'GLIBCXX_3.4.14' bit? Thoughts on how to proceed?

Code: [Select]
DrCRcomp:/~/.crayon/crayon-physics-deluxe_55_i386
DrCR:$ locate libstdc++.so.6
/opt/openoffice.org/ure/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.13                                                                                                    
/usr/lib/libstdc++.so.6
/usr/lib/vmware/lib/libstdc++.so.6                                                                                              
/usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.9
« Last Edit: November 24, 2011, 04:03:58 am by DrCR »

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: Learning more about dependencies.... libstdc++.so.6 (VL 6.0 SOHO)
« Reply #1 on: November 24, 2011, 04:24:27 am »
what version of glibc u got?

DrCR

  • Vectorite
  • ***
  • Posts: 166
Re: Learning more about dependencies.... libstdc++.so.6 (VL 6.0 SOHO)
« Reply #2 on: November 24, 2011, 06:43:02 pm »
Good call. glibc-2.7-i486-10

Code: [Select]
DrCRcomp://home/drcr
DrCR:# slapt-get --search glibc
glibc-2.7-i486-10 [inst=yes]: glibc (GNU C libraries)
glibc-i18n-2.7-noarch-10 [inst=yes]: glibc-i18n (locale files from glibc)
glibc-profile-2.7-i486-10 [inst=no]: glibc-profile (GNU C libraries with profiling support)
glibc-solibs-2.7-i486-10 [inst=yes]: glibc-solibs (shared GNU C libraries)
glibc-zoneinfo-2.7-noarch-11_slack12.1 [inst=yes]: glibc-zoneinfo (timezone database)

I just checked the slackware repos for newer versions, including current, and I'm only seeing glibc-2.14*, no version 3.*

Thoughts? Thanks!

DrCR

  • Vectorite
  • ***
  • Posts: 166
Re: Learning more about dependencies.... libstdc++.so.6 (VL 6.0 SOHO)
« Reply #3 on: November 24, 2011, 06:57:48 pm »
cxxlibs - Is this something involved?

Code: [Select]
http://slackware.osuosl.org/slackware-current/PACKAGES.TXT
PACKAGE NAME:  cxxlibs-6.0.14-i486-2.txz
PACKAGE LOCATION:  ./slackware/a
PACKAGE SIZE (compressed):  612 K
PACKAGE SIZE (uncompressed):  2860 K
PACKAGE DESCRIPTION:
cxxlibs: cxxlibs (C++ shared library compatibility package)
cxxlibs:
cxxlibs: This package contains the shared libraries needed to run dynamically
cxxlibs: linked C++ binaries linked with older versions of libstdc++.

Code: [Select]
DrCRcomp://home/drcr
DrCR:# slapt-get --search cxxlibs
cxxlibs-6.0.9-i486-1 [inst=yes]: cxxlibs (C++ shared library compatibility package)



hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --