i386 jdk and lib32
Tony Maher
tonymaher at optushome.com.au
Thu Mar 25 01:52:05 PST 2004
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
More information about the freebsd-amd64
mailing list