help-gplusplus
[Top][All Lists]
Advanced

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

Re: Exception unwinding problem


From: Paul Pluzhnikov
Subject: Re: Exception unwinding problem
Date: 08 Aug 2004 13:21:20 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

kostadis@gmail.com (kostadis) writes:

> I suspect that there is an error in my setup, but need help to
> debug it.

Run 'ldd a.out' and see which libstdc++.so (if any) it binds to.

Chances are that it is using /usr/lib/libstdc++.so.5, instead of
/usr/local/build/compilers/gcc-3.3/lib/libstdc++.so.5 which it
ought to be using.

If the above diagnosis is correct, LD_LIBRARY_PATH is your friend.
Alternatively, you may also wish to edit 

  /usr/local/build/compilers/gcc-3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs

and add '-Wl,-rpath,/usr/local/build/compilers/gcc-3.3/lib' in the
'*link:' section.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

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