Fedora 27 /usr/bin/ld: cannot find -lstdc++

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I have Fedora 27. I am building something from source. (It is https://github.com/xmrig/xmrig-nvidia if that matters).



Make gets to linking and then fails with this message:



/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status


The packages libstdc++ and libstdc++-devel are installed. Their 32-bit versions, just in case, are now also installed. I still get the message.



What can I do to fix this? Thanks!







share|improve this question
























    up vote
    2
    down vote

    favorite












    I have Fedora 27. I am building something from source. (It is https://github.com/xmrig/xmrig-nvidia if that matters).



    Make gets to linking and then fails with this message:



    /usr/bin/ld: cannot find -lstdc++
    collect2: error: ld returned 1 exit status


    The packages libstdc++ and libstdc++-devel are installed. Their 32-bit versions, just in case, are now also installed. I still get the message.



    What can I do to fix this? Thanks!







    share|improve this question






















      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I have Fedora 27. I am building something from source. (It is https://github.com/xmrig/xmrig-nvidia if that matters).



      Make gets to linking and then fails with this message:



      /usr/bin/ld: cannot find -lstdc++
      collect2: error: ld returned 1 exit status


      The packages libstdc++ and libstdc++-devel are installed. Their 32-bit versions, just in case, are now also installed. I still get the message.



      What can I do to fix this? Thanks!







      share|improve this question












      I have Fedora 27. I am building something from source. (It is https://github.com/xmrig/xmrig-nvidia if that matters).



      Make gets to linking and then fails with this message:



      /usr/bin/ld: cannot find -lstdc++
      collect2: error: ld returned 1 exit status


      The packages libstdc++ and libstdc++-devel are installed. Their 32-bit versions, just in case, are now also installed. I still get the message.



      What can I do to fix this? Thanks!









      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 13 at 18:31









      Mikhail Ramendik

      1839




      1839




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          6
          down vote



          accepted










          Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416875%2ffedora-27-usr-bin-ld-cannot-find-lstdc%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            6
            down vote



            accepted










            Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package






            share|improve this answer
























              up vote
              6
              down vote



              accepted










              Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package






              share|improve this answer






















                up vote
                6
                down vote



                accepted







                up vote
                6
                down vote



                accepted






                Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package






                share|improve this answer












                Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 13 at 18:40









                Mikhail Ramendik

                1839




                1839






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416875%2ffedora-27-usr-bin-ld-cannot-find-lstdc%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?