Http connection program fails on FreeBSD 6.1 with diablo-JRE1.6

Li Ye Ye.Li at Sun.COM
Fri Sep 25 07:33:03 UTC 2009


I have a java program whose function is sending some data to a remote
Http server. This program works with diablo-JRE1.6 on FreeBSD 7.2, and
with diablo-JRE1.5 on FreeBSD 6.1. However, when I run it with
diablo-JRE1.6 on FreeBSD 6.1, the program crashed. The only printed
error message is as follows:

------------------
/libexec/ld-elf.so.1:
/usr/local/diablo-jdk1.6.0_07/jre/lib/i386/libnet.so: Undefined symbol
"gethostbyname_r"
------------------

Would you please look into the problem if possible?

Thanks,
Li Ye



More information about the freebsd-java mailing list