Missing libstdc++ on linux
This may not specifically be a C++ issue, but it is related, and I
think some of the posters to this site would know as much about this issue as
I recently installed libstdc++6-4.0.1-5mdk.i586.rpm because an
application (I think it was Cinelerra) complained that it needed a
newer version than I had.
Now, when I try to compile any C++ program with g++, ld gives me the
/usr/bin/ld: cannot find -lstdc++
My /usr/lib directory now contains
but no other libstdc++ files are anywhere on my system. I don't know
what was there before I installed the new package (foolish me). I
assume I am missing a libstdc++.a file, and the rpm I installed
claimed to provide libstdc++ as well as the .so, but it didn't put it
on my system.
How do I get libstdc++.a back (if that is in fact the problem)?
I'm running Mandrake 10.1
Any help would be greatly appreciated.