libtool/ltmain linking wrong stdc++

2006-10-09 Thread Taj Morton
Hi All, Searching the list archives, I see that other people have had this problem too, but the solutions in those threads don't really seem to work for me... My problem is that I have 2 compilers installed on my computer: gcc-3.4 in /usr (system compiler), and gcc-3.3 in /opt/gcc-3.3. When compi

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Ralf Wildenhues
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/li

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Mike Frysinger
On Monday 09 October 2006 11:07, Taj Morton wrote: > My problem is that I have 2 compilers installed on my computer: gcc-3.4 in > /usr (system compiler), and gcc-3.3 in /opt/gcc-3.3. what you want to do just wont work regardless of the issue you raise below ... gcc 3.3 and gcc 3.4 have incompatib

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Taj Morton
Ralf Wildenhues gmx.de> writes: Hi Ralf, Thanks for the reply! > Please rerun the link command with --debug and without --silent: > /bin/sh ../../../libtool --debug --tag=CXX --mode=link ... >log 2>&1 > gzip -9 log http://wildgardenseed.com/Taj/libtool-log > and attach log.gz. Please also s

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Taj Morton
Mike Frysinger gentoo.org> writes: > > On Monday 09 October 2006 11:07, Taj Morton wrote: > > My problem is that I have 2 compilers installed on my computer: gcc-3.4 in > > /usr (system compiler), and gcc-3.3 in /opt/gcc-3.3. > > what you want to do just wont work regardless of the issue you rai

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Albert Chin
On Mon, Oct 09, 2006 at 03:07:45PM +, Taj Morton wrote: > Searching the list archives, I see that other people have had this > problem too, but the solutions in those threads don't really seem to > work for me... > > My problem is that I have 2 compilers installed on my computer: > gcc-3.4 in

Re: DESTDIR, relink dependent lib, RPM and AIX

2006-10-09 Thread Ralf Wildenhues
Hello Frank, Sorry for the delay. * Frank Fegert wrote on Sun, Aug 13, 2006 at 03:54:24PM CEST: > > The details: > - $ libtool --version > ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) > - AIX 5.3 ML4 > - Target: gettext-0.14.5 (see config.log.gz attached) > - *NO* previous

Re: DESTDIR, relink dependent lib, RPM and AIX

2006-10-09 Thread Ralf Wildenhues
Hello Jaimon, * Jaimon Jose wrote on Sun, Oct 08, 2006 at 06:51:13PM CEST: > I'm trying to do a "make install DESTDIR=/mydir " on AIX 5.1. I see a > similar question is asked couple of months back and didn't see any reply > yet. I just replied there: http://thread.gmane.org/gmane.comp.gnu.libto

Re: DESTDIR, relink dependent lib, RPM and AIX

2006-10-09 Thread Jaimon Jose
Hi Ralf, Ralf Wildenhues wrote the following on 10/10/2006 12:15 AM: > I just replied there: > http://thread.gmane.org/gmane.comp.gnu.libtool.general/7717/focus=7735 > I'll try out this CVS head and update you. > Unless you find out whether the failure is the same as in the other case > or diff

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Ralf Wildenhues
* Taj Morton wrote on Mon, Oct 09, 2006 at 06:38:10PM CEST: > Ralf Wildenhues gmx.de> writes: > > > Please rerun the link command with --debug and without --silent: > > /bin/sh ../../../libtool --debug --tag=CXX --mode=link ... >log 2>&1 > > gzip -9 log > http://wildgardenseed.com/Taj/libtool

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Taj Morton
Albert Chin mlists.thewrittenword.com> writes: > > On Mon, Oct 09, 2006 at 03:07:45PM +, Taj Morton wrote: > > 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 /op

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Taj Morton
Ralf Wildenhues gmx.de> writes: > > * Taj Morton wrote on Mon, Oct 09, 2006 at 06:38:10PM CEST: > > Ralf Wildenhues gmx.de> writes: > > > > > Please rerun the link command with --debug and without --silent: > > > /bin/sh ../../../libtool --debug --tag=CXX --mode=link ... >log 2>&1 > > > gzi

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Mike Frysinger
On Monday 09 October 2006 18:30, Taj Morton wrote: > Ralf Wildenhues gmx.de> writes: > > Generatlly, you should not link against libraries using two different, > > incompatible libstdc++ at the same time. > > Yeah, it's a bad idea. I'm not talking about /running/ libraries that link > against both

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Taj Morton
Mike Frysinger gentoo.org> writes: > On Monday 09 October 2006 18:30, Taj Morton wrote: > > Ralf Wildenhues gmx.de> writes: > > > Generatlly, you should not link against libraries using two different, > > > incompatible libstdc++ at the same time. > > > > Yeah, it's a bad idea. I'm not talking ab

Re: libtool/ltmain linking wrong stdc++

2006-10-09 Thread Ralf Wildenhues
* Taj Morton wrote on Tue, Oct 10, 2006 at 06:59:31AM CEST: > > I'm trying to *not* build libraries that link to both libstdc++s. But you will end up with such brokenness anyway. Let me try to rephrase Mike's concern as I understand it: libkdecore was created with some libstdc++ as dependency. L