Debian 64-bit libstdc++ Error
#1

O/S: Debian 64-bit

Error:
Quote:

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

Hello, yesterday I was searching through forums/****** on how to fix a libstdc++ error.
-None of it is working on Debian x64, at least without using apt-get install -f
-If installing some of the 32-bit dependencies it says it will break linux-image-2.6.32-5-amd64

Trying to install lib32stdc and ia32-libs:

Quote:

root:/samp# apt-get install lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
lib32stdc++6 : Depends: lib32gcc1 but it is not going to be installed
libc6-i386 : Breaks: lib32stdc++6 (< 4.4.0-7) but 4.2.4-1ubuntu4 is to be installed
linux-image-2.6.32-5-amd64 : Depends: linux-base (>= 2.6.32-39) but it is not installable
Depends: initramfs-tools (>= 0.55) but it is not going to be installed or
linux-initramfs-tool
Recommends: firmware-linux-free (>= 2.6.32) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Quote:

root:/samp# apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
ia32-libs : Depends: lib32asound2 but it is not going to be installed
Depends: lib32gcc1 but it is not going to be installed
Depends: lib32ncurses5 but it is not going to be installed
Depends: lib32stdc++6 but it is not going to be installed
Depends: lib32z1 but it is not going to be installed
Recommends: lib32nss-mdns but it is not going to be installed
libc6-i386 : Breaks: ia32-libs (< 20090804) but 2.2ubuntu11.3 is to be installe
linux-image-2.6.32-5-amd64 : Depends: linux-base (>= 2.6.32-39) but it is not i
Depends: initramfs-tools (>= 0.55) but it is not g
linux-initramfs-tool
Recommends: firmware-linux-free (>= 2.6.32) but it
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s





Running dpkg on libstdc++

Quote:

root:/samp# dpkg -s -i libstdc++6
dpkg: conflicting actions -i (--install) and -s (--status)
dpkg -s libstdc++6
Type dpkg --help for help about installing and deinstalling packages[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked[*] produce a lot of output - pipe it through `less' or `more' !

Quote:

root:/samp# dpkg -s libstdc++6
Package: libstdc++6
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 1236
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Architecture: amd64
Source: gcc-4.4
Version: 4.4.5-8
Depends: gcc-4.4-base (= 4.4.5-, libc6 (>= 2.3.2), libgcc1 (>= 1:4.1.1)
Conflicts: scim (<< 1.4.2-1)
Description: The GNU Standard C++ Library v3
This package contains an additional runtime library for C++ programs
built with the GNU compiler.
.
libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
was included up to g++-2.95. The first version of libstdc++-v3 appeared
in g++-3.0.
Homepage: http://gcc.gnu.org/
Not sure what everyone did to get SA-MP working on their 64-bit boxes?
Reply
#2

Fixed. If anyone wanted to know what was wrong: A lot of things =P I had to edit my etc/apt/sources.list to add quite a few new repos as they were the wrong ones. Then ran apt-get update & apt-get upgrade and finally managed to install the stuff.

My bad =p
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)