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 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

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 +0000, 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), inst

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 -

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. > > >

Re: libtool/ltmain linking wrong stdc++

2006-10-10 Thread Taj Morton
Ralf Wildenhues gmx.de> writes: > > * Taj Morton wrote on Tue, Oct 10, 2006 at 06:59:31AM CEST: > > Now, while your libfoo may not be explicitly linked against version Y > (i.e., 'objdump -p libfoo' shows only one libstdc++ as NEEDED), any > program usin

Re: libtool/ltmain linking wrong stdc++

2006-10-10 Thread Taj Morton
Taj Morton gmail.com> writes: > Yes, that would cause problems. I know that a C++ app must only have /one/ > libstdc+ linked into it (or linked because of dependencies, or dependencies of > dependencies, etc). On my build machine (moria), I'm building Amarok, the KDE > mus

Re: libtool/ltmain linking wrong stdc++

2006-10-11 Thread Taj Morton
Ralf Wildenhues gmx.de> writes: > > * Taj Morton wrote on Wed, Oct 11, 2006 at 12:43:36AM CEST: > > My problem is that when I compile my GCC-3.3 RPM, libtool links > > against /usr/lib/libstdc++.so, instead of /opt/gcc-3.3/lib/libstdc++.so. > > Yes, you already wrot