John Vliet wrote:
>
> In my description of the problem I mentioned that you can replace the
> ld-linux.so library with an older version (1.9.5 as opposed to 1.9.9)
> and the Java stuff seems to work fine. Unfortunately this causes our
> dhtml server and it's database to break. Interestingly though, you can
> switch to the older library, start you program, switch back to the 1.9.9
> version and all will live in harmony (that is until you exit the java
> program). This is by no means a solution, but a crude work around if
> you are using Java as a Server that is a critical part of your system,
> it will get you running until a real soln is found.
ld.so has a feature that forces it to use a specific file. Just set
LD_PRELOAD in the environment to the full pathname of the .so file.
This is useful for programs that need special versions of common libs.
"man ld.so" for more details.
If you're using bash (or any Bourne-style shell), it's easy to add to the
environment of a single command. So once you have 1.9.5 of ld-linux.so
installed, try this:
LD_PRELOAD=/lib/ld-linux.so.1.9.5 appletviewer
/usr/local/jdk1.1.6/demo/awt-1.1/lightweight/OpenlookButtons/example.htm