Date: Thu, 25 Mar 2004 20:51:22 +1100 (EST) From: Tony Maher <tonymaher@optushome.com.au> To: amd64@freebsd.org Subject: i386 jdk and lib32 Message-ID: <200403250951.i2P9pMDu015566@k9.a1.asic.gov.au>
next in thread | raw e-mail | index | archive | help
Hello I ran Peter Wemm's build32.sh script and tested with ksh93 package built on an i386 box. All worked well. Encouraged I created jdk1.3 on i386 machine and installed on amd64 box. Trying to run any of the java binaries resulted in (paraphrasing) /libexec/ld-elf.so.1 cannot load (find) libhpi.so Could not understand why it was ld-elf.so.1 and not ld-elf32.so.1 but ktrace/kdump showed ld-elf32.so.1 was tried first and failed and then ld-elf.so.1 was tried and produced the message. ktrace also showed it was looking in /lib32 (or /usr/lib32). (reading build32.sh explained why this is). So I added symlinks in /lib32 to the java libs and got further. Was getting (from memory) Cannot open /greenthreads/libhpi.so Thats as far as I got before going home. I'll look further tomorrow. (Obviously?) what would be better is to be able to create /var/run/ld32.so.hints (is that correct name?) rather than symlink hack. Is this possible (without a lot of work)? (Also obviously?!) it looks like LD_LIBRARY_PATH is ignored for 32 bit i386 which is why no libraries are found. Any ideas about this? I understand all this is very bleeding edge, but we have this test box for just a short while so I'd like to try as much as possible even if it involves a few hacks. thanks -- tonym
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403250951.i2P9pMDu015566>