[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc/c++




Hi...

i have a small (i hope) problem with my /usr/lib/libstdc++ file, it
requires the /lib/libm.so.5 and i already upgraded to libm6.. 
you can imagine what it does when i try to compile using c++....
where can i get/recompile the libstdc++ ?
i've already tried to use the sunsite/pub/gnu/libstdc++-2.8.1.tar.gz, but
it didn't help....

here is the exact error message i get when i run c++:

/usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/ld: warning: libm.so.5, needed by
/usr/lib/libstdc++.so, not found (try using --rpath)
/usr/lib/crt1.o(.text+0x36): undefined reference to `main'
/usr/lib/libstdc++.so: undefined reference to `__unwind_function'
/usr/lib/libstdc++.so: undefined reference to
`__find_first_exception_table_match'
/usr/lib/libstdc++.so: undefined reference to `__register_exceptions'

Any ideas?