compile failure.

Dhruv Matani dhruvbird@gmx.net
Thu Jan 29 08:33:00 GMT 2004


On Wed, 2004-01-28 at 23:32, Benjamin Kosnik wrote:
[...]

> Then, try just configuring like so:
> 
> cd $bld_gcc
> $src_to_gcc/configure --verbose --prefix=/opt/gcc-3.4
> --enable-__cxa_atexit --enable-languages=c,c++

Yes. Ok, I have gotten it to compile, and it can also compile programs
fine. However, when running those compiled programs, I get the following
error:  error while loading shared libraries: libstdc++.so.6: cannot
open shared object file: No such file or directory

However, this file is present as a symbolic link in the libdir?

What am I to do now?

Here's the output from g++34 -v just in case you'd like to know:

[dhruv@home test]$ g++34 -v
Reading specs from /opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: /root/temp/gcc-3.3.2/configure --verbose
--prefix=/opt/gcc-3.4 --enable-__cxa_atexit --enable-languages=c,c++
--program-suffix=34
Thread model: posix
gcc version 3.4.0 20040128 (prerelease)




-- 
	-Dhruv Matani.
http://www.geocities.com/dhruvbird/





More information about the Libstdc++ mailing list