Version `GLIBCXX_3.4.15' not found in CentOS (in file /usr/lib/libstdc++.so.6)
up vote
2
down vote
favorite
I try to use a program and I get the following error.
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found
Under /usr/lib64 the libstdc++ I see is libstdc++.so.6.0.13 (and a soft link).
With strings libstdc++.so.6.0.13 | grep GLIBCXX I get
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
With cat /etc/redhat-release I get
Red Hat Enterprise Linux Workstation release 6.4 (Santiago)
So the question in what should I do in order to fix that. Should I install some new packages and if yes which ones?
centos glibc g++
add a comment |
up vote
2
down vote
favorite
I try to use a program and I get the following error.
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found
Under /usr/lib64 the libstdc++ I see is libstdc++.so.6.0.13 (and a soft link).
With strings libstdc++.so.6.0.13 | grep GLIBCXX I get
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
With cat /etc/redhat-release I get
Red Hat Enterprise Linux Workstation release 6.4 (Santiago)
So the question in what should I do in order to fix that. Should I install some new packages and if yes which ones?
centos glibc g++
I have not looked to see of they have it but have you tried EPEL
– Zan Lynx
Jan 22 '15 at 6:32
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I try to use a program and I get the following error.
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found
Under /usr/lib64 the libstdc++ I see is libstdc++.so.6.0.13 (and a soft link).
With strings libstdc++.so.6.0.13 | grep GLIBCXX I get
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
With cat /etc/redhat-release I get
Red Hat Enterprise Linux Workstation release 6.4 (Santiago)
So the question in what should I do in order to fix that. Should I install some new packages and if yes which ones?
centos glibc g++
I try to use a program and I get the following error.
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found
Under /usr/lib64 the libstdc++ I see is libstdc++.so.6.0.13 (and a soft link).
With strings libstdc++.so.6.0.13 | grep GLIBCXX I get
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
With cat /etc/redhat-release I get
Red Hat Enterprise Linux Workstation release 6.4 (Santiago)
So the question in what should I do in order to fix that. Should I install some new packages and if yes which ones?
centos glibc g++
centos glibc g++
edited Jun 24 '13 at 19:20
asked Jun 24 '13 at 18:00
George Kastrinis
80119
80119
I have not looked to see of they have it but have you tried EPEL
– Zan Lynx
Jan 22 '15 at 6:32
add a comment |
I have not looked to see of they have it but have you tried EPEL
– Zan Lynx
Jan 22 '15 at 6:32
I have not looked to see of they have it but have you tried EPEL
– Zan Lynx
Jan 22 '15 at 6:32
I have not looked to see of they have it but have you tried EPEL
– Zan Lynx
Jan 22 '15 at 6:32
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
You need to install a newer version of GCC and, if it is a separate package in CentOS, a newer version of gcc-libs. Unfortunately, I don't think such recent versions will be available in the CentOS repository.
One option would be to install the latest version of GCC for your user account only (i.e. don't install it system-wide, which will help avoid some potential headaches). You can do this pretty easily using GSRC, but of course you can also just download the GCC source archive and specify a non-standard directory to the --prefix option. Then, when you build your new software, you'll have to specify LDFLAGS="-L /path/to/your/gcc/libs -L/usr/lib (etc)", CFLAGS="-I /path/to/your/gcc/includes -I /usr/include (etc)" and probably something like CXX=/path/to/your/g++. When you run the program you'll need LD_LIBRARY_PATH=/path/to/your/gcc/libs in your environment.
Alternatively, you can install a distro with more up-to-date software, though I understand that this is not always possible.
add a comment |
up vote
0
down vote
I had the same problem so I used this link for glibcxx_3.4.15 and manually placed the contents to the folder required (/usr/lib folder). I was able to run gdb on my apps after that. Hope this helps.
EDIT:
Select the link under the ALT Linux tabs and download binary package (these packages are more generic and can be used on various distros).
Ex: libstdc++6-4.7.2-alt7.i586.rpm - GNU Standard C++ library
This will include libstdc++.so.6.0.17 as well as libstdc++.so.6.0.15.
Our CentOS version is Red Hat Enterprise Linux Workstation release 6.4. So from your link the package has until libstdc++.so.6(GLIBCXX_3.4.13) and not 3.4.15
– George Kastrinis
Oct 20 '13 at 11:34
Well, I'm using the same version of CentOS and was having the same error message. You may have not noticed but it comes with libstdc++.so.6.0.17 which includes the version you are looking for, but you can try this link too which has that exact version glibcxx_3.4.15
– Chef Pharaoh
Oct 21 '13 at 13:43
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You need to install a newer version of GCC and, if it is a separate package in CentOS, a newer version of gcc-libs. Unfortunately, I don't think such recent versions will be available in the CentOS repository.
One option would be to install the latest version of GCC for your user account only (i.e. don't install it system-wide, which will help avoid some potential headaches). You can do this pretty easily using GSRC, but of course you can also just download the GCC source archive and specify a non-standard directory to the --prefix option. Then, when you build your new software, you'll have to specify LDFLAGS="-L /path/to/your/gcc/libs -L/usr/lib (etc)", CFLAGS="-I /path/to/your/gcc/includes -I /usr/include (etc)" and probably something like CXX=/path/to/your/g++. When you run the program you'll need LD_LIBRARY_PATH=/path/to/your/gcc/libs in your environment.
Alternatively, you can install a distro with more up-to-date software, though I understand that this is not always possible.
add a comment |
up vote
0
down vote
You need to install a newer version of GCC and, if it is a separate package in CentOS, a newer version of gcc-libs. Unfortunately, I don't think such recent versions will be available in the CentOS repository.
One option would be to install the latest version of GCC for your user account only (i.e. don't install it system-wide, which will help avoid some potential headaches). You can do this pretty easily using GSRC, but of course you can also just download the GCC source archive and specify a non-standard directory to the --prefix option. Then, when you build your new software, you'll have to specify LDFLAGS="-L /path/to/your/gcc/libs -L/usr/lib (etc)", CFLAGS="-I /path/to/your/gcc/includes -I /usr/include (etc)" and probably something like CXX=/path/to/your/g++. When you run the program you'll need LD_LIBRARY_PATH=/path/to/your/gcc/libs in your environment.
Alternatively, you can install a distro with more up-to-date software, though I understand that this is not always possible.
add a comment |
up vote
0
down vote
up vote
0
down vote
You need to install a newer version of GCC and, if it is a separate package in CentOS, a newer version of gcc-libs. Unfortunately, I don't think such recent versions will be available in the CentOS repository.
One option would be to install the latest version of GCC for your user account only (i.e. don't install it system-wide, which will help avoid some potential headaches). You can do this pretty easily using GSRC, but of course you can also just download the GCC source archive and specify a non-standard directory to the --prefix option. Then, when you build your new software, you'll have to specify LDFLAGS="-L /path/to/your/gcc/libs -L/usr/lib (etc)", CFLAGS="-I /path/to/your/gcc/includes -I /usr/include (etc)" and probably something like CXX=/path/to/your/g++. When you run the program you'll need LD_LIBRARY_PATH=/path/to/your/gcc/libs in your environment.
Alternatively, you can install a distro with more up-to-date software, though I understand that this is not always possible.
You need to install a newer version of GCC and, if it is a separate package in CentOS, a newer version of gcc-libs. Unfortunately, I don't think such recent versions will be available in the CentOS repository.
One option would be to install the latest version of GCC for your user account only (i.e. don't install it system-wide, which will help avoid some potential headaches). You can do this pretty easily using GSRC, but of course you can also just download the GCC source archive and specify a non-standard directory to the --prefix option. Then, when you build your new software, you'll have to specify LDFLAGS="-L /path/to/your/gcc/libs -L/usr/lib (etc)", CFLAGS="-I /path/to/your/gcc/includes -I /usr/include (etc)" and probably something like CXX=/path/to/your/g++. When you run the program you'll need LD_LIBRARY_PATH=/path/to/your/gcc/libs in your environment.
Alternatively, you can install a distro with more up-to-date software, though I understand that this is not always possible.
answered Jul 5 '13 at 10:46
user235731
add a comment |
add a comment |
up vote
0
down vote
I had the same problem so I used this link for glibcxx_3.4.15 and manually placed the contents to the folder required (/usr/lib folder). I was able to run gdb on my apps after that. Hope this helps.
EDIT:
Select the link under the ALT Linux tabs and download binary package (these packages are more generic and can be used on various distros).
Ex: libstdc++6-4.7.2-alt7.i586.rpm - GNU Standard C++ library
This will include libstdc++.so.6.0.17 as well as libstdc++.so.6.0.15.
Our CentOS version is Red Hat Enterprise Linux Workstation release 6.4. So from your link the package has until libstdc++.so.6(GLIBCXX_3.4.13) and not 3.4.15
– George Kastrinis
Oct 20 '13 at 11:34
Well, I'm using the same version of CentOS and was having the same error message. You may have not noticed but it comes with libstdc++.so.6.0.17 which includes the version you are looking for, but you can try this link too which has that exact version glibcxx_3.4.15
– Chef Pharaoh
Oct 21 '13 at 13:43
add a comment |
up vote
0
down vote
I had the same problem so I used this link for glibcxx_3.4.15 and manually placed the contents to the folder required (/usr/lib folder). I was able to run gdb on my apps after that. Hope this helps.
EDIT:
Select the link under the ALT Linux tabs and download binary package (these packages are more generic and can be used on various distros).
Ex: libstdc++6-4.7.2-alt7.i586.rpm - GNU Standard C++ library
This will include libstdc++.so.6.0.17 as well as libstdc++.so.6.0.15.
Our CentOS version is Red Hat Enterprise Linux Workstation release 6.4. So from your link the package has until libstdc++.so.6(GLIBCXX_3.4.13) and not 3.4.15
– George Kastrinis
Oct 20 '13 at 11:34
Well, I'm using the same version of CentOS and was having the same error message. You may have not noticed but it comes with libstdc++.so.6.0.17 which includes the version you are looking for, but you can try this link too which has that exact version glibcxx_3.4.15
– Chef Pharaoh
Oct 21 '13 at 13:43
add a comment |
up vote
0
down vote
up vote
0
down vote
I had the same problem so I used this link for glibcxx_3.4.15 and manually placed the contents to the folder required (/usr/lib folder). I was able to run gdb on my apps after that. Hope this helps.
EDIT:
Select the link under the ALT Linux tabs and download binary package (these packages are more generic and can be used on various distros).
Ex: libstdc++6-4.7.2-alt7.i586.rpm - GNU Standard C++ library
This will include libstdc++.so.6.0.17 as well as libstdc++.so.6.0.15.
I had the same problem so I used this link for glibcxx_3.4.15 and manually placed the contents to the folder required (/usr/lib folder). I was able to run gdb on my apps after that. Hope this helps.
EDIT:
Select the link under the ALT Linux tabs and download binary package (these packages are more generic and can be used on various distros).
Ex: libstdc++6-4.7.2-alt7.i586.rpm - GNU Standard C++ library
This will include libstdc++.so.6.0.17 as well as libstdc++.so.6.0.15.
edited Oct 24 '13 at 22:36
answered Oct 18 '13 at 15:18
Chef Pharaoh
14118
14118
Our CentOS version is Red Hat Enterprise Linux Workstation release 6.4. So from your link the package has until libstdc++.so.6(GLIBCXX_3.4.13) and not 3.4.15
– George Kastrinis
Oct 20 '13 at 11:34
Well, I'm using the same version of CentOS and was having the same error message. You may have not noticed but it comes with libstdc++.so.6.0.17 which includes the version you are looking for, but you can try this link too which has that exact version glibcxx_3.4.15
– Chef Pharaoh
Oct 21 '13 at 13:43
add a comment |
Our CentOS version is Red Hat Enterprise Linux Workstation release 6.4. So from your link the package has until libstdc++.so.6(GLIBCXX_3.4.13) and not 3.4.15
– George Kastrinis
Oct 20 '13 at 11:34
Well, I'm using the same version of CentOS and was having the same error message. You may have not noticed but it comes with libstdc++.so.6.0.17 which includes the version you are looking for, but you can try this link too which has that exact version glibcxx_3.4.15
– Chef Pharaoh
Oct 21 '13 at 13:43
Our CentOS version is Red Hat Enterprise Linux Workstation release 6.4. So from your link the package has until libstdc++.so.6(GLIBCXX_3.4.13) and not 3.4.15
– George Kastrinis
Oct 20 '13 at 11:34
Our CentOS version is Red Hat Enterprise Linux Workstation release 6.4. So from your link the package has until libstdc++.so.6(GLIBCXX_3.4.13) and not 3.4.15
– George Kastrinis
Oct 20 '13 at 11:34
Well, I'm using the same version of CentOS and was having the same error message. You may have not noticed but it comes with libstdc++.so.6.0.17 which includes the version you are looking for, but you can try this link too which has that exact version glibcxx_3.4.15
– Chef Pharaoh
Oct 21 '13 at 13:43
Well, I'm using the same version of CentOS and was having the same error message. You may have not noticed but it comes with libstdc++.so.6.0.17 which includes the version you are looking for, but you can try this link too which has that exact version glibcxx_3.4.15
– Chef Pharaoh
Oct 21 '13 at 13:43
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f611487%2fversion-glibcxx-3-4-15-not-found-in-centos-in-file-usr-lib-libstdc-so-6%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I have not looked to see of they have it but have you tried EPEL
– Zan Lynx
Jan 22 '15 at 6:32