[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: jdk1.2 says "can't find libjava.so"



Hello

I've got the same problem
Seems to be a bad detection of symlink in _javascript_ that is a symlink to .java_wrapper
in this part of code

# Resolve symlinks. See 4152645.
while [ -h "$PRG" ]; do
    ls=`/bin/ls -ld "$PRG"`
    link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
    if /usr/bin/expr "$link" : '/' > /dev/null; then
        PRG="$link"
    else
        PRG="`/usr/bin/dirname $PRG`/$link"
    fi
done

Quick and dirty

Replace just after

APPHOME=`dirname "$PRG"`
by APPHOME=`dirname "$0"`
 
 
 

Juergen Kreileder wrote:

>>>>> Louis-David Mitterrand writes:

    Louis-David> After doing my daily "apt-get upgrade" on a potato
    Louis-David> machine with blackdown java2 now I get:

    Louis-David> % /usr/local/jdk1.2/bin/java
    Louis-David> Error: can't find libjava.so.

    Louis-David> Has anybody got the same problem? I tried adding the
    Louis-David> library path to /etc/ld.so.conf or to LC_LIBRARY_PATH
    Louis-David> to no avail.

    Louis-David> Could somone shed light on what the issue could be?
    Louis-David> I'd like to understand at least..

shellutils_2.0-3 is broken, downgrade shellutils to version 2.0-2.1.
http://guiness.cs.uni-dortmund.de/~kreilede/debian/shellutils_2.0-2.1.deb

        Juergen

--
Juergen Kreileder, Blackdown Java-Linux Porting Team
http://www.blackdown.org/java-linux.html

--
To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
E-mail: christian.bayle@cnet.francetelecom.fr
==============================================================================
P-mail: 28, Chemin du Vieux Chene BP 98 38243 MEYLAN CEDEX
Telephone/Phone : (33) 4 76 76 41 01     Piece/Room A142
 
begin:vcard 
n:Bayle;Christian
tel;fax:(33/0)476764557
tel;home:(33/0)476541392
tel;work:(33/0)476764101
x-mozilla-html:FALSE
org:FRANCE TELECOM;DTL/ASR
version:2.1
email;internet:christian.bayle@cnet.francetelecom.fr
title:Research Engineer
adr;quoted-printable:;;28 Chemin du Vieux Chene=0D=0ABP 98;MEYLAN;;38243 CEDEX;FRANCE
x-mozilla-cpt:;-8632
fn:Christian Bayle
end:vcard

Reply to: