I finally solved this problem. Turns out the tip from Alexander was key to the solution. Only the LD_LIBRARY_PATH needs to point to a "compatible" jvm or you will get errors. When I executed the above commands using a 1.3.1 jvm the installation finally worked.
Alexander, thanks for you pointer (and your patience).
Just so the original problem is clear and problem and solution are in one place, I summarize what happened. I wanted to install Together Contol Center 6.1. The trouble started with the error message:
"/tmp/install.dir.12566/Linux/resource/jre/jre/bin/i386/native_threads/java: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
"
After fixing this with an LD_LIBRARY as above I got the following error message:
"
Error occurred during initialization of VM
Unable to load native library: /tmp/install.dir.14985/Linux/resource/jre/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
"
The final commands were:
LD_LIBRARY_PATH="/usr/java/jre1.3.1_13/lib/i386/client:/usr/java/jre1.3.1_13/lib/i386/"; export LD_LIBRARY_PATH
LD_PRELOAD="/home/abonnema/tcc6_1/libcwait.so" ./tcc6.1lin.bin
(The LD_LIBRARY_PATH plus export is on one line).
Hope this helps someone save some time.
Guus.
Add to these commands that executing the <path-Borland>/Borland/Together6.1/bin/Together.sh also needs the same preload, as in:
LD_PRELOAD="<path-my-libcwait>/libcwait.so" <path-Borland>/Borland/Together6.1/bin/Together.sh
(on one line offcourse).
Hope this helps (too).
Guus. -- A.J. Bonnema, Leiden The Netherlands, user #328198 (Linux Counter http://counter.li.org)