Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I suspect that this isn't difficult, but I'm stumped. Sorry if it is too easy.
I ran c++ programs on redhat 7.2 just fine, when I move to RH9, I have problems at runtime. I get:
a.out: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
I've just installed gcc 3.4 (compiled and installed from the source). I get a version of 3.4.0 when I do a "gcc --version" and it appeared to install correctly. No special libraries should be required as it is only trying to execute helloworld.cc
I tried to add: /usr/local/lib to /etc/ld.so.conf and ran ldconfig and I've also modified the LD_LIBRARY_PATH
This resulted in the following problem at runtime:
/lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/local/lib/libstdc++.so.6)
I see it's mentioning gcc 3.3.
Any idea how to make the programs run and is the second message a step forward or backward? Should I install gcc from an rpm? I'm out of ideas.