On Fri, 9 Mar 2007, Nida M wrote:
> Thank you for the information.
> but problem is , I can not change my setup of Netbsd
and compiler.
>
> I have to work on this issue with Netbsd 3.0 and gcc
3.4.4.
> Any suggestion w.r.t dynamic linker (rtld) in netbsd
3.0 for solving
> this issue.?
Since it appears to be a libstdc++ issue, you could use the
dynamic linker
to load a patched version of the library (ie using
LD_LIBRARY_PATH)
before running your application. You'd just have to patch it
yourself..
Suppose you have:
/usr/lib/libstdc++.so.5.0
$HOME/lib/libstdc++.so.5.1
$HOME/bin/myapp
Then:
$ LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH
$HOME/bin/myapp
Should load the newer version.
Cheers,
Jared
|