From owner-freebsd-java@FreeBSD.ORG Fri Sep 25 07:33:03 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36F0F106566B for ; Fri, 25 Sep 2009 07:33:03 +0000 (UTC) (envelope-from Ye.Li@Sun.COM) Received: from sineb-mail-1.sun.com (sineb-mail-1.sun.com [192.18.19.6]) by mx1.freebsd.org (Postfix) with ESMTP id A8FF98FC0C for ; Fri, 25 Sep 2009 07:33:02 +0000 (UTC) Received: from fe-apac-05.sun.com (fe-apac-05.sun.com [192.18.19.176] (may be forged)) by sineb-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8P7WkXn011219 for ; Fri, 25 Sep 2009 07:32:59 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=gbk Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <0KQI00E00NBPX100@mail-apac.sun.com> for freebsd-java@freebsd.org; Fri, 25 Sep 2009 15:32:46 +0800 (SGT) Received: from 129.158.218.41 ([unknown] [129.158.218.41]) by mail-apac.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0KQI00B1BNMKCPC0@mail-apac.sun.com> for freebsd-java@freebsd.org; Fri, 25 Sep 2009 15:32:45 +0800 (SGT) Date: Fri, 25 Sep 2009 15:30:00 +0800 From: Li Ye Sender: Ye.Li@Sun.COM To: freebsd-java@freebsd.org Message-id: <1253863800.23983.29.camel@moonocean> Organization: Sun Microsystems Inc. X-Mailer: Ximian Evolution 1.4.6.301 Subject: Http connection program fails on FreeBSD 6.1 with diablo-JRE1.6 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ye.Li@Sun.COM List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 07:33:03 -0000 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