The linker ld cannot find libstdc++ library
Issue
-
When compling in matlab, the linking portion fails with an error message '/usr/bin/ld: cannot find -libstdc++'. There is no libstdc++.so for the ld to use. After adding a symbolic link, Matlab compile completes successfully on 32 and 64 bit boxes.
-
Why is there no libstd++.so file present in /usr/lib in Red Hat Enterprise Linux ?
Environment
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
