Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: libstdc++.so.5 installed but not found

  1. #1
    Join Date
    May 2007
    Beans
    89
    Distro
    Ubuntu 12.04 Precise Pangolin

    libstdc++.so.5 installed but not found

    After upgrading from jaunty to karmic beta, libstdc++5 was removed and is no longer in the repos. This library is needed for my printer driver (lexmark z515: followed these instructions). The printer worked fine in jaunty.

    The problem in the install process is when I go to verify it's working with the z600 script, which returns:

    Code:
    ./z600: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    I've found the jaunty .deb package for libstdc++5 and installed it manually, but I still get the same message.

    I know it's installed because ls -l /usr/lib | grep -i libstdc++ shows:
    Code:
    lrwxrwxrwx  1 root root       18 2009-10-04 22:12 libstdc++.so.5 -> libstdc++.so.5.0.7
    -rw-r--rwx  1 root root   855856 2009-10-04 23:15 libstdc++.so.5.0.7
    lrwxrwxrwx  1 root root       19 2009-10-04 17:19 libstdc++.so.6 -> libstdc++.so.6.0.13
    -rw-r--r--  1 root root  1027760 2009-10-03 17:33 libstdc++.so.6.0.13
    But, ldd z600 (z600 is the script to test whether the printer is installed correctly) shows:
    Code:
    	linux-gate.so.1 =>  (0xf7f40000)
    	liblexprinter.so.0 => /usr/lib/liblexprinter.so.0 (0xf7f0a000)
    	libstdc++.so.5 => not found
    	libm.so.6 => /lib32/libm.so.6 (0xf7ee1000)
    	libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7eb5000)
    	libc.so.6 => /lib32/libc.so.6 (0xf7d5d000)
    	/lib/ld-linux.so.2 (0xf7f41000)
    By the way, if it makes a difference, i'm on the 64-bit architecture and the driver packages are x86. this didn't make a difference in jaunty, but i don't know if it will in karmic.

    Thanks in advance for any help.

    Patrick

  2. #2
    Join Date
    May 2007
    Beans
    89
    Distro
    Ubuntu 12.04 Precise Pangolin

    Talking Re: libstdc++.so.5 installed but not found

    I figured it out.

    Since the driver is for 32-bit, it was looking for a 32-bit libstdc++.so.5, so I went to packages.ubuntu.com/jaunty and downloaded and extracted the libstdc++5 deb file and manually placed the so files in /usr/lib32/

    Now everything works great.

  3. #3
    Join Date
    Apr 2008
    Beans
    9
    Distro
    Kubuntu Development Release

    Re: libstdc++.so.5 installed but not found

    Same issue here with IBM Lotus Domino Server.

    Downloaded this package: http://packages.ubuntu.com/jaunty/i3...dc++5/download

    and dropped the files into /usr/lib32 worked a treat!

    Thanks.

  4. #4
    Join Date
    Nov 2008
    Beans
    8

    Re: libstdc++.so.5 installed but not found

    I've tracked this problem out down to a change in ia32-libs. The package ia32-libs_2.7ubuntu6.1_amd64.deb has the 32-bit libstdc++.so.5 and the newer package ia32-libs_2.7ubuntu17_amd64.deb does NOT have it. Sounds like it is time to file a bug report...

    EDIT: Looks like someone has already filed a bug report:

    Bug #431091
    Last edited by ayourk; November 3rd, 2009 at 08:19 AM. Reason: Bug report filed.

  5. #5
    Join Date
    Jan 2009
    Beans
    367

    Re: libstdc++.so.5 installed but not found

    I just installed this package and its very quick and just works without messing with anything else. Its for 32 bit machines.

    http://packages.debian.org/lenny/i38...dc++5/download

    For me, this was used to get the Google Web Toolkit local browser to work on Karmic.

  6. #6
    Join Date
    Oct 2005
    Location
    Hertfordshire, England
    Beans
    53
    Distro
    Kubuntu 8.10 Intrepid Ibex

    Re: libstdc++.so.5 installed but not found

    Quote Originally Posted by rrfx View Post
    Same issue here with IBM Lotus Domino Server.

    Downloaded this package: http://packages.ubuntu.com/jaunty/i3...dc++5/download

    and dropped the files into /usr/lib32 worked a treat!

    Thanks.
    Brilliant thanks, this worked perfectly for me for getting checkpoint snx (ssl network extender) working for me.

    Thanks.

  7. #7
    Join Date
    Apr 2008
    Beans
    9
    Distro
    Kubuntu Development Release

    Re: libstdc++.so.5 installed but not found

    Copernicus1234 I wouldn't be comfortable installing 32-bit libs on an amd64 install, and also where possible choose the Ubuntu ones rather than debian's versions - see the better link to Ubuntu's package above.

    Note that deb packages can be extracted by by typing this command in a shell:
    Code:
    dpkg-deb --extract <deb> <directory>

  8. #8
    Join Date
    Sep 2008
    Location
    Michigan, USA
    Beans
    193
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: libstdc++.so.5 installed but not found

    This may help, http://www.digitalenigma.net/directo...gid=2009111000. It's a little tutorial I posted on my website.

  9. #9
    Join Date
    Apr 2008
    Beans
    9
    Distro
    Kubuntu Development Release

    Re: libstdc++.so.5 installed but not found

    Quote Originally Posted by KiLaHuRtZ View Post
    This may help, http://www.digitalenigma.net/directo...gid=2009111000. It's a little tutorial I posted on my website.
    Thats great, however i would recommend people dont get into the habit of installing 32-bit packages on 64-bit systems with "dpkg --force-architecture". You'll clobber something one day.

    Given your instructions say to move the installed libs anyway, extract the files manually with "dpkg-deb --extract <deb> <temp directory>" and move them from there.

  10. #10
    Join Date
    Nov 2008
    Beans
    8

    Re: libstdc++.so.5 installed but not found

    Here is something that was just posted into the bug listed above:


    Erik wrote 1 hour ago: #17
    The nicest solution I found is adding this PPA: https://launchpad.net/~jason-scheunemann/+archive/ppa to your sources with these lines:
    deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu karmic main
    deb-src http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu karmic main

    Accepting the key, and installing "lib32stdc++5" package. This is for amd64 systems.
    AYourk wrote 40 minutes ago: #18

    Also, the following should serve as a quick way to add his ppa key to your local keyring:

    Code:
    wget -q 'http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x932062C9CD30EE56' -O - | sudo apt-key add -

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •