Re: jdk1.2 says "can't find libjava.so"
>>>>> ASR writes:
ASR> I've got the same problem Seems to be a bad detection of
ASR> symlink in java script that is a symlink to .java_wrapper in
ASR> this part of code
No, this code is OK. The bug is with shellutils.
ASR> # Resolve symlinks. See 4152645.
ASR> while [ -h "$PRG" ]; do
ASR> ls=`/bin/ls -ld "$PRG"`
ASR> link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
ASR> if /usr/bin/expr "$link" : '/' > /dev/null; then
The problem is that shellutils broke this expr call. If the
expression evaluates to 0 expr has to return an error code of 1 (see
the The Single UNIX ® Specification, Version 2) but the new Debian
version of expr returns with 0.
ASR> PRG="$link"
ASR> else
ASR> PRG="`/usr/bin/dirname $PRG`/$link"
ASR> fi
ASR> done
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Porting Team
http://www.blackdown.org/java-linux.html
Reply to: