Results 1 to 2 of 2
Hello. I'm using Debian Sarge and I'm trying to compile a C++ program (ANY C++ program) but I keep getting linker errors saying that ld can't find -lstdc++. I have ...
- 10-23-2005 #1Just Joined!
- Join Date
- Oct 2005
- Location
- Buenos Aires, Argentina
- Posts
- 21
A problem with libstdc++
Hello. I'm using Debian Sarge and I'm trying to compile a C++ program (ANY C++ program) but I keep getting linker errors saying that ld can't find -lstdc++. I have g++ 3.3 installed, with libstdc++5, libstdc++5-3.3-dev and libstdc++5-3.3-dbg, and aptitude says they're all installed. And I have none of the other versions installed, so I doubt they're conflicting with anything. But ld still can't find it. Does anyone know what the problem may be, and how I can fix it?
Thanks in advance.
- 10-23-2005 #2Just Joined!
- Join Date
- Oct 2005
- Location
- Buenos Aires, Argentina
- Posts
- 21
I've fixed the problem, thanks to my fellow APF ShadesFox. A simple ln -s /usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so did the trick.


Reply With Quote
