Jump to content

Problem with core.so (`GLIBCXX_3.4.15' not found)


Dany Alex

Recommended Posts

Posted (edited)

/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15'not found (required by ./core.so)

ERROR: Could not load ./core.so

* Check installed data files.

Press enter to continue...

How to solve ? please help. (CentOS)

Edited by Guest
  • MTA Team
Posted

We have one of our top guys working on it. If it is possible, I would guess 2/3 weeks.

Posted

This problem exists from many previous versions as CentOS is bundled with an old version of gcc, all what you need to do is to get the latest version of gcc and then compile&install it.

At least that worked for me in both CentOS 5 and 6.

Posted
where can I get?

Make sure that you've at least 1GB of RAM.

  
wget [url=ftp://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-4.9.3/gcc-4.9.3.tar.gz]ftp://ftp.ntua.gr/pub/gnu/gcc/releases/ ... 9.3.tar.gz[/url] 
tar xf gcc-4.9.3 
cd gcc-4.9.3 
./configure && make && sudo make install && echo "success" 
  

Note that it can take some time.

  • 3 weeks later...
Posted
where can I get?

Make sure that you've at least 1GB of RAM.

  
wget [url=ftp://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-4.9.3/gcc-4.9.3.tar.gz]ftp://ftp.ntua.gr/pub/gnu/gcc/releases/ ... 9.3.tar.gz[/url] 
tar xf gcc-4.9.3 
cd gcc-4.9.3 
./configure && make && sudo make install && echo "success" 
  

Note that it can take some time.

i don't quite get how did you manage to pull that off. i followed your steps exactly but got some form of a positive result only with the first step, i downloaded something, the rest of the steps did nothing, but showed a few error messages:

5cvuqU2.png

i don't get it, what did i do wrong?

Posted
On the second line, try:

tar xf gcc-4.9.3.tar.gz 

okay, thanks, now i guess i successfully went through all the steps:

ZwQlS0l.png

but the thing is: nothing changed. mta 1.5.1 still shows the same error, what do i do?

  • MTA Team
Posted

Well there is an error reported. I Binged 'no acceptable C compiler found in $PATH centos' and found this possible solution:

yum groupinstall "Development Tools" 

Posted

i figured that since i've got debian the commands look a bit different for me

  
  
  
apt-get -y update && apt-get upgrade 
apt-get -y install build-essential 
  

apt-get -y install build-essential

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages were automatically installed and are no longer required:

libnet-daemon-perl libplrpc-perl

Use 'apt-get autoremove' to remove them.

The following extra packages will be installed:

binutils bzip2 dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4

libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl

libc-dev-bin libc6-dev libdpkg-perl libgomp1 libstdc++6-4.4-dev

libtimedate-perl linux-libc-dev make manpages-dev patch

Suggested packages:

binutils-doc bzip2-doc debian-keyring g++-multilib g++-4.4-multilib

gcc-4.4-doc libstdc++6-4.4-dbg gcc-multilib autoconf automake1.9 libtool

flex bison gdb gcc-doc gcc-4.4-multilib libmudflap0-4.4-dev gcc-4.4-locales

libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7

glibc-doc libstdc++6-4.4-doc make-doc ed diffutils-doc

The following NEW packages will be installed:

binutils build-essential bzip2 dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4

libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl

libc-dev-bin libc6-dev libdpkg-perl libgomp1 libstdc++6-4.4-dev

libtimedate-perl linux-libc-dev make manpages-dev patch

0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.

Need to get 9,816 kB/23.1 MB of archives.

After this operation, 70.0 MB of additional disk space will be used.

Get:1 http://mirror.hetzner.de/debian/packages/ squeeze/main patch i386 2.6-2 [122 kB]

Get:2 http://mirror.hetzner.de/debian/packages/ squeeze/main linux-libc-dev i386 2.6.32-48squeeze6 [840 kB]

Get:3 http://mirror.hetzner.de/debian/packages/ squeeze/main libstdc++6-4.4-dev i386 4.4.5-8 [1,529 kB]

Get:4 http://mirror.hetzner.de/debian/packages/ squeeze/main g++-4.4 i386 4.4.5-8 [5,127 kB]

Get:5 http://mirror.hetzner.de/debian/packages/ squeeze/main g++ i386 4:4.4.5-1 [1,372 B]

Get:6 http://mirror.hetzner.de/debian/packages/ squeeze/main make i386 3.81-8 [392 kB]

Get:7 http://mirror.hetzner.de/debian/packages/ squeeze/main libtimedate-perl all 1.2000-1 [41.2 kB]

Get:8 http://mirror.hetzner.de/debian/packages/ squeeze/main libdpkg-perl all 1.15.11 [698 kB]

Get:9 http://mirror.hetzner.de/debian/packages/ squeeze/main bzip2 i386 1.0.5-6+squeeze1 [47.4 kB]

Get:10 http://mirror.hetzner.de/debian/packages/ squeeze/main dpkg-dev all 1.15.11 [815 kB]

Get:11 http://mirror.hetzner.de/debian/packages/ squeeze/main build-essential i386 11.5 [7,190 B]

Get:12 http://mirror.hetzner.de/debian/packages/ squeeze/main fakeroot i386 1.14.4-1 [117 kB]

Get:13 http://mirror.hetzner.de/debian/packages/ squeeze/main libalgorithm-diff-perl all 1.19.02-2 [51.5 kB]

Get:14 http://mirror.hetzner.de/debian/packages/ squeeze/main libalgorithm-diff-xs-perl i386 0.04-1 [13.1 kB]

Get:15 http://mirror.hetzner.de/debian/packages/ squeeze/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]

Fetched 9,816 kB in 0s (11.7 MB/s)

Selecting previously deselected package patch.

(Reading database ... 23117 files and directories currently installed.)

Unpacking patch (from .../archives/patch_2.6-2_i386.deb) ...

Selecting previously deselected package binutils.

Unpacking binutils (from .../binutils_2.20.1-16_i386.deb) ...

Selecting previously deselected package libc-dev-bin.

Unpacking libc-dev-bin (from .../libc-dev-bin_2.11.3-4_i386.deb) ...

Selecting previously deselected package linux-libc-dev.

Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.32-48squeeze6_i386.deb) ...

Selecting previously deselected package libc6-dev.

Unpacking libc6-dev (from .../libc6-dev_2.11.3-4_i386.deb) ...

Selecting previously deselected package libgomp1.

Unpacking libgomp1 (from .../libgomp1_4.4.5-8_i386.deb) ...

Selecting previously deselected package gcc-4.4.

Unpacking gcc-4.4 (from .../gcc-4.4_4.4.5-8_i386.deb) ...

Selecting previously deselected package gcc.

Unpacking gcc (from .../gcc_4%3a4.4.5-1_i386.deb) ...

Selecting previously deselected package libstdc++6-4.4-dev.

Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.5-8_i386.deb) ...

Selecting previously deselected package g++-4.4.

Unpacking g++-4.4 (from .../g++-4.4_4.4.5-8_i386.deb) ...

Selecting previously deselected package g++.

Unpacking g++ (from .../g++_4%3a4.4.5-1_i386.deb) ...

Selecting previously deselected package make.

Unpacking make (from .../archives/make_3.81-8_i386.deb) ...

Selecting previously deselected package libtimedate-perl.

Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...

Selecting previously deselected package libdpkg-perl.

Unpacking libdpkg-perl (from .../libdpkg-perl_1.15.11_all.deb) ...

Selecting previously deselected package bzip2.

Unpacking bzip2 (from .../bzip2_1.0.5-6+squeeze1_i386.deb) ...

Selecting previously deselected package dpkg-dev.

Unpacking dpkg-dev (from .../dpkg-dev_1.15.11_all.deb) ...

Selecting previously deselected package build-essential.

Unpacking build-essential (from .../build-essential_11.5_i386.deb) ...

Selecting previously deselected package fakeroot.

Unpacking fakeroot (from .../fakeroot_1.14.4-1_i386.deb) ...

Selecting previously deselected package libalgorithm-diff-perl.

Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...

Selecting previously deselected package libalgorithm-diff-xs-perl.

Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-1_i386.deb) ...

Selecting previously deselected package libalgorithm-merge-perl.

Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...

Selecting previously deselected package manpages-dev.

Unpacking manpages-dev (from .../manpages-dev_3.27-1_all.deb) ...

Processing triggers for man-db ...

/usr/bin/mandb: can't write to /var/cache/man/20335: No space left on device

Setting up patch (2.6-2) ...

Setting up binutils (2.20.1-16) ...

Setting up libc-dev-bin (2.11.3-4) ...

Setting up linux-libc-dev (2.6.32-48squeeze6) ...

Setting up libc6-dev (2.11.3-4) ...

Setting up libgomp1 (4.4.5-8) ...

Setting up gcc-4.4 (4.4.5-8) ...

Setting up gcc (4:4.4.5-1) ...

Setting up make (3.81-8) ...

Setting up libtimedate-perl (1.2000-1) ...

Setting up libdpkg-perl (1.15.11) ...

Setting up bzip2 (1.0.5-6+squeeze1) ...

Setting up dpkg-dev (1.15.11) ...

Setting up fakeroot (1.14.4-1) ...

update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.

Setting up libalgorithm-diff-perl (1.19.02-2) ...

Setting up libalgorithm-diff-xs-perl (0.04-1) ...

Setting up libalgorithm-merge-perl (0.08-2) ...

Setting up manpages-dev (3.27-1) ...

Setting up libstdc++6-4.4-dev (4.4.5-8) ...

Setting up g++-4.4 (4.4.5-8) ...

Setting up g++ (4:4.4.5-1) ...

update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.

Setting up build-essential (11.5) ...

even though it appears like i successfully installed it the problem with mta 1.5.1 still remains...

  • MTA Team
Posted

Did you run the fix after installing build-essential?

wget [url=ftp://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-4.9.3/gcc-4.9.3.tar.gz]ftp://ftp.ntua.gr/pub/gnu/gcc/releases/ ... 9.3.tar.gz[/url] 
tar xf gcc-4.9.3.tar.gz 
cd gcc-4.9.3 
./configure && make && sudo make install && echo "success"  

(btw, this thread was about CentOS, so it probably won't work.)

Posted

well, it kinda worked, showed a new error message :cry:

  
  
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. 
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify 
their locations.  Source code for these libraries can be found at 
their respective hosting sites as well as at 
[url=ftp://gcc.gnu.org/pub/gcc/infrastructure/]ftp://gcc.gnu.org/pub/gcc/infrastructure/[/url].  See also 
[url=http://gcc.gnu.org/install/prerequisites.html]http://gcc.gnu.org/install/prerequisites.html[/url] for additional info.  If 
you obtained GMP, MPFR and/or MPC from a vendor distribution package, 
make sure that you have installed both the libraries and the header 
files.  They may be located in separate packages. 
  
  

  • MTA Team
Posted

Try this (32 bit Linux):

wget -P /usr/local/lib https://nightly.multitheftauto.com/files/modules/32/libstdc++.so.6 
export LD_LIBRARY_PATH=/usr/local/lib 

This solution for both 32 and 64 bit Linux is now described on http://linux.multitheftauto.com/

  • 2 weeks later...
Posted

nevermind, i just installed debian 8 as i've adviced a few times. no problem now, but thanks for being helpful and responding quickly, ccw. i appreciate that.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...