libtool
[Top][All Lists]
Advanced

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

Re: libtool/ltmain linking wrong stdc++


From: Ralf Wildenhues
Subject: Re: libtool/ltmain linking wrong stdc++
Date: Mon, 9 Oct 2006 18:29:34 +0200
User-agent: Mutt/1.5.13 (2006-09-08)

Hello Taj,

* Taj Morton wrote on Mon, Oct 09, 2006 at 05:07:45PM CEST:
> 
> When compiling /opt/gcc-3.3/bin/gcc-g++-3.3, I get link errors because
> libstdc++.so is resolved to /usr/lib/libstdc++.so (the system lib), instead of
> the compilers lib in /opt/gcc-3.3/lib. When I delete the /usr/lib/libstdc++.so
> symlink, I get the error "Could not find /usr/lib/libstdc++.so" when linking.

Please rerun the link command with --debug and without --silent:
  /bin/sh ../../../libtool --debug --tag=CXX --mode=link ... >log 2>&1
  gzip -9 log

and attach log.gz.  Please also send the output of
  /bin/sh ../../../libtool --tag=CXX --config

(both from the right directory, of course).

> The libtool command looks like this:
> /bin/sh ../../../libtool --silent --tag=CXX --mode=link apg++  -Wno-long-long
> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
> -fno-check-new
> -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION    -o amarok -L/opt/kde/lib -L/usr/lib/qt/lib
> -L/usr/X11R6/lib    -R /opt/kde/lib -R /opt/kde/lib -R /usr/lib/qt/lib -R
> /usr/X11R6/lib loader.o splash.o -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM
> -lICE -lpthread -lkdecore

Thanks,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]