From owner-freebsd-ports Sun Mar 9 18:43:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA00295 for ports-outgoing; Sun, 9 Mar 1997 18:43:39 -0800 (PST) Received: from iago.ienet.com (iago.ienet.com [207.78.32.53]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA00290 for ; Sun, 9 Mar 1997 18:43:37 -0800 (PST) Received: from iago.ienet.com (localhost.ienet.com [127.0.0.1]) by iago.ienet.com (8.8.5/8.8.5) with ESMTP id SAA03958 Sun, 9 Mar 1997 18:43:27 -0800 (PST) Message-Id: <199703100243.SAA03958@iago.ienet.com> From: pius@ienet.com To: Mats Lofkvist Cc: freebsd-ports@freebsd.org Subject: Re: Looking for Java with graphics for 2.1.7 Date: Sun, 09 Mar 1997 18:43:27 -0800 Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 9 Mar 1997, mal@algonet.se wrote: > - The "unofficial/unsupported" JDK in ftp://freefall.freebsd.org/ > pub/FreeBSD/LOCAL_PORTS/jdk102.11-26.tar.gz. > This one seems to be 3.0 only (at least it wants a 3.0 libc). > If it works with 2.2, I would consider upgrading to make it run. > (Hmm, is there any functionality that current had in november when > this port was done that is not in 2.2 by now?) This works for me on 2.1.7. I have a symbolic link from libc.so.3.0 to libc.so.2.2. It's weird though, I wanted to see what happens if I didn't have the link, and here's what I got: othello:/usr/lib# ls -l libc.* -r--r--r-- 1 bin bin 499006 Mar 6 12:58 libc.a -r--r--r-- 1 bin bin 435713 Mar 6 12:58 libc.so.2.2 lrwxr-xr-x 1 bin bin 11 Mar 9 18:27 libc.so.3.0 -> libc.so.2.2 othello:/usr/lib# rm libc.so.3.0 othello:/usr/lib# java ld.so failed: open failed for "/usr/lib/libc.so.3.0" : No such file or directory Ok, so far things are as expected. But now when I add the link back again, java still doesn't work (btw. I also tried doing an ldconfig again, but it didn't help): othello:/usr/lib# ln -s libc.so.2.2 libc.so.3.0 othello:/usr/lib# java ld.so failed: open failed for "/libc.so.3.0" : No such file or directory was not found in /usr/local/java/bin/../bin/i386/ othello:/usr/lib# But when I logged out and logged back in again, then java worked again! I guess there's something I don't understand about how ldconfig, ld.so, and all that works, but that last error message looks a little strange. Regards, Pius