Version `GLIBCXX_3.4.15' not found in CentOS (in file /usr/lib/libstdc++.so.6)











up vote
2
down vote

favorite
2












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?










share|improve this question
























  • I have not looked to see of they have it but have you tried EPEL
    – Zan Lynx
    Jan 22 '15 at 6:32















up vote
2
down vote

favorite
2












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?










share|improve this question
























  • I have not looked to see of they have it but have you tried EPEL
    – Zan Lynx
    Jan 22 '15 at 6:32













up vote
2
down vote

favorite
2









up vote
2
down vote

favorite
2






2





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?










share|improve this question















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++






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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










2 Answers
2






active

oldest

votes

















up vote
0
down vote



+50










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.






share|improve this answer




























    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.






    share|improve this answer























    • 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













    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    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

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    +50










    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.






    share|improve this answer

























      up vote
      0
      down vote



      +50










      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.






      share|improve this answer























        up vote
        0
        down vote



        +50







        up vote
        0
        down vote



        +50




        +50




        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.






        share|improve this answer












        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 5 '13 at 10:46







        user235731































            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.






            share|improve this answer























            • 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

















            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.






            share|improve this answer























            • 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















            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.






            share|improve this answer














            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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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




















            • 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




















            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            What is the Guru Parampara of Kashmiri Shaivism?

            Герой Советского Союза

            AnyDesk - Fatal Program Failure