i am pretty new at redhat and at posting to groups, so please forgive any irrelevant information i add or improper posting etiquette. i have Redhat 8.0, kernel 2.4.18-18.8.0, sony vaio laptop with winME on first partition, winXP on second, and redhat on third. my big problem is this:
/root/SDL-1.2.5> g++ hello.C -o hello cannot find -lstdc++ ld returned 1 exit status this is a simple hello world program that i got off the internet (not being prolific in c++ but i just wanted a quick example). originally i had gcc rpm's installed and i got this error. i then downloaded the source code gcc-3.2. i ran make and hit on a strange problem. i would error because this file was not present: locale.lo so after browsing the net, someone had a similar problem, and i followed his/her instructions: cd /root/gcc-3.2/i686-pc-linux-gnu/libstdc++-v3/src ls -l locale.lo* --- this showed a file called localed.loT cp locale.loT locale.lo and proceed. i did this and my make worked correctly, or so it looked to me. however, i still received the same error with my hello world program. so, back on the net, i started reading up on ld (of which i know nothing about) and i issued the following command (disregarding all the words of caution about messing with ld, of course :) g++ -Wl,--rpath,/usr/local/lib so now, my hello world program gives me this: /root/SDL-1.2.5> g++ hello.C -o hello -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list