CrazyEngineers
  • /usr/bin/ld: cannot find -lstdc++ (cacti installation)

    rukawa

    Member

    Updated: Oct 25, 2024
    Views: 1.2K
    Hello all
    I am trying to install cacti5.3 (<a href="https://www.hpl.hp.com/research/cacti/" target="_blank" rel="nofollow noopener noreferrer">www.hpl.hp.com</a>). The installation is simple : one has to download the tar file, unzip it, run the make command. When I run make, I get the following error message:

    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.so when searching for -lstdc++
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.a when searching for -lstdc++
    /usr/bin/ld: cannot find -lstdc++

    I read somewhere linking statically to libstdc++ with -static-libstdc++ option is the solution, I guess I have to add this line in the Makefile, but where exactly?

    Thanks in advance
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Home Channels Search Login Register