Ulrich Drepper did explain that several times in the past, i.e. see this posting
http://marc.theaimsgroup.com/?l=fedora-list&m=107073685404718&w=2
More hits from the archive:
http://marc.theaimsgroup.com/?l=fedora-list&w=2&r=1&s=__libc_wait+Drepper&q=b
Alexander
Alexander,
It doesn't work for me. I paste the result at the end of the message. Do you have any idea what i have done wrong? A summary of what I did:
1. First I set LD_LIBRARY_PATH to contain libjvm.so and libzip.so:
LD_LIBRARY_PATH="/usr/java/jdk1.5.0/jre/lib/i386/client:/usr/java/jdk1.5.0/jre/lib/i386"; export LD_LIBRARY_PATH
2. Then I compiled the source like the c-file comments say:
gcc -shared -o libcwait.so libcwait.c -fpic -O
3. Finally I executed the install command:
LD_PRELOAD="/home/abonnema/tcc6_1/libcwait.so ./tcc6.1lin.bin"
and I got the error (see bottom of the message).
I am not a C-programmer so I really don't understand the error. Do you know what is wrong?
Thank you very much for taking the effort to help.
Guus. -- A.J. Bonnema, Leiden The Netherlands, user #328198 (Linux Counter http://counter.li.org)
" Preparing to install... tail: `-1' option is obsolete; use `-n 1' Try `tail --help' for more information. ./tcc6.1lin.bin: line 329: [: `)' expected, found -z WARNING! The amount of /tmp disk space required and/or available could not be determined. The installation will be attempted anyway. Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment...
Launching installer...
head: `-1' option is obsolete; use `-n 1' Try `head --help' for more information. # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x00c0b6ec, pid=5785, tid=4143857792 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing) # Problematic frame: # [error occurred during error reporting, step 60, id 0xb]
# An error report file with more information is saved as hs_err_pid5785.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Aborted [1m The installation did not complete successfully. It appears that your Java VM might not have all the appropriate patches necessary to run properly. Please refer to the following web page to obtain information regarding the necessary patches. http://www.ZeroG.com/patches/unix [0m "