Help, I think my compilers are broken
All of a sudden when trying to compile stuff I get weird errors.
Eg:
g++ helloworld.cc -o hello gives
/usr/bin/ld: cannot open -lstdc++: No such file or directory
collect2: ld returned 1 exit status
(Where helloworld.cc is
#include <iostream.h>
void main(void)
{ cout << "Hello World!"; } )
My relevant packages are:
ii g++ 2.91.58-5 The GNU (egcs) C++ compiler.
ii libg++27 2.7.2.1-14.4 The GNU C++ libraries (ELF version).
ii libg++272 2.7.2.8-0.1 The GNU C++ libraries (libc6 version).
ii gcc 2.7.2.3-5 The GNU C compiler.
ii libc6-dev 2.0.7u-6 The GNU C library version 2 (development fil
ii libstdc++2.8 2.90.29-2 The GNU stdc++ library (old egcs version)
ii libstdc++2.9 2.91.60-1 The GNU stdc++ library (egcs version)
ii libstdc++2.9-de 2.91.60-1 The GNU stdc++ library (development files)
Any ideas where I should start trying to fix this?
----------------------------------
E-Mail: timothy@smasher.rs.itd.umich.edu
Date: 12-Dec-98
Time: 13:31:35
This message was sent by XFMail.
Powered by GNU/Linux 2.0.
----------------------------------
Reply to: