Upgrade failure due to libstdc++ dep.

Questions on Installation
Post Reply
tomchiverton
Posts: 3
Joined: Sat Apr 05, 2008 6:24 pm

Upgrade failure due to libstdc++ dep.

Post by tomchiverton »

I'm a paying user, and the latest point update appears to have randomly changed the dependency on libstdc++ to a newer one, which means I can't use the updated TurboPrint on my Fedora Core 7 box :-(

Any chance of a version without this problem ?

[root@bookcase scratch]# rpm -q turboprint
turboprint-1.96-2.x86_64
[root@bookcase scratch]# rpm -Uvh turboprint-1.96-4.x86_64.rpm
error: Failed dependencies:
libstdc++.so.5()(64bit) is needed by turboprint-1.96-4.x86_64
libstdc++.so.5(CXXABI_1.2)(64bit) is needed by turboprint-1.96-4.x86_64
libstdc++.so.5(GLIBCPP_3.2)(64bit) is needed by turboprint-1.96-4.x86_64
[root@bookcase scratch]# rpm -q libstdc++
libstdc++-4.1.2-27.fc7.x86_64
libstdc++-4.1.2-27.fc7.i386
[root@bookcase scratch]#
genorak
Posts: 3
Joined: Sun Apr 13, 2008 10:06 pm

Same problem here-for a number of months

Post by genorak »

I am using gentoo and had to reinstall my box due to some hard disk issues. Cups is now at 1.3.7 and I have GCC 4.2.3 -

ran the command suggested in another post right now and here is what I get:

Code: Select all

# ldd /usr/bin/xtpsetup
        linux-vdso.so.1 =>  (0x00007fff663fe000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x00002ac344911000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x00002ac344c8f000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x00002ac344ece000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x00002ac3450d2000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00002ac3452fd000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002ac345506000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002ac345718000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002ac345a1c000)
        libstdc++.so.5 => not found
        libm.so.6 => /lib/libm.so.6 (0x00002ac345c21000)
        libc.so.6 => /lib/libc.so.6 (0x00002ac345ea0000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002ac3461e8000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00002ac3463ec000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00002ac3465ee000)
        /lib64/ld-linux-x86-64.so.2 (0x00002ac3446f5000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002ac34680a000)

In another post someone suggested creating a symlink to the file, so I did this:

Code: Select all

 # ln -s /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/32/libstdc++.so.6 /usr/lib/libstdc++.so.5
When I tried to run ./setup I get this :

Code: Select all

bin/xtpsetup: error while loading shared libraries: libstdc++.so.5: wrong ELF class: ELFCLASS32
Could not start X-Windows installation tool.
I have been waiting for a number of months without saying anything, figuring that a newer version would be released which would remediate this problem. Still Waiting. Can we have a working version for X86_64 please? I would assume that as a number of other distros are about to release semi-annual updates, more people will run into these problems.
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Post by zedonet »

Hello,

new TurboPrint 64bit downloads are now available that solve the libstc++ dependency problem.
tomchiverton
Posts: 3
Joined: Sat Apr 05, 2008 6:24 pm

Post by tomchiverton »

Excellent, this newer version now installs cleanly, though confusingly the filename and version is identical to the once that didn't a few weeks ago.

Thanks for the support :-)
Post Reply