On Wed, 2007-08-15 at 13:23 +0200, Andreas Niederl wrote:
> Iain Buchanan wrote:
> > On Mon, 2007-08-13 at 08:02 +0200, Andreas Niederl wrote:

> [...]
> >> My own little workaround:
> >> echo 'LDPATH="/lib:/usr/lib:/usr/local/lib"' >> /etc/env.d/04basic-ldpath
> >> env-update
> > 
> > I tried that, but eix still fails with the same error...  Or do I have
> > to rebuild the system again?!
> 
> No, eix still takes the wrong libstdc++.so.6 and rebuilding won't likely
> change that.
> Whats the output of the libstdc++ section, if you call eix with LD_DEBUG
> like `LD_DEBUG=libs eix`?

the current eix (0.9.9) shows this (and a whole lotta other stuff):

$ LD_DEBUG=libs eix
     18778:     find library=libstdc++.so.6 [0]; searching
     18778:      search path=/usr/lib/fglrx             (LD_LIBRARY_PATH)
     18778:       trying file=/usr/lib/fglrx/libstdc++.so.6
     18778:      search cache=/etc/ld.so.cache
     18778:       trying 
file=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
[snip]
     18778:     calling init: 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6

> You could directly query the exported CXXABI versions of different
> libstdc++ libraries in the same order as they are tried by the dynamic
> linker by pasting the following loop into your shell:
> 
> while read dir ; do
>   if [ -r $dir/libstdc++.so.6 ] ; then
>     echo $dir:
>     readelf -a $dir/libstdc++.so.6 | grep Rev | grep CXXABI
>   fi
> done < /etc/ld.so.conf

/usr/lib/gcc/i686-pc-linux-gnu/3.4.6:
  0x00a4: Rev: 1  Flags: none  Index: 6  Cnt: 1  Name: CXXABI_1.3
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2:
  0x0158: Rev: 1  Flags: none  Index: 11  Cnt: 1  Name: CXXABI_1.3
  0x0174: Rev: 1  Flags: none  Index: 12  Cnt: 2  Name: CXXABI_1.3.1
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0:
  0x017c: Rev: 1  Flags: none  Index: 12  Cnt: 1  Name: CXXABI_1.3
  0x0198: Rev: 1  Flags: none  Index: 13  Cnt: 2  Name: CXXABI_1.3.1


But what does it all _mean_ Basil? (gratuitous bad movie quote...)

I'm keen on finding out more, but by myself I am again stumped!  Thanks
for the help so far,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

"The great question... which I have not been able to answer... is, `What does 
woman want?'"
-- Sigmund Freud

-- 
[EMAIL PROTECTED] mailing list

Reply via email to