Date: Sun, 09 Mar 1997 18:43:27 -0800 From: pius@ienet.com To: Mats Lofkvist <mal@algonet.se> Cc: freebsd-ports@freebsd.org Subject: Re: Looking for Java with graphics for 2.1.7 Message-ID: <199703100243.SAA03958@iago.ienet.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703100243.SAA03958>