From owner-freebsd-java@freebsd.org Sun Mar 24 13:05:25 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F86A15595D8 for ; Sun, 24 Mar 2019 13:05:25 +0000 (UTC) (envelope-from olivier.cinquin@uci.edu) Received: from mda3.es.uci.edu (mda3.es.uci.edu [128.200.80.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8ACF2837E7 for ; Sun, 24 Mar 2019 13:05:24 +0000 (UTC) (envelope-from olivier.cinquin@uci.edu) Received: from esmtp2.es.uci.edu (esmtp2.es.uci.edu [128.195.197.132]) by mda3.es.uci.edu (8.14.4/8.14.4) with ESMTP id x2OD5MiE583101 for ; Sun, 24 Mar 2019 06:05:22 -0700 Received: from [10.8.0.2] (claude.bio.uci.edu [128.200.23.59]) (authenticated bits=0) by esmtp2.es.uci.edu (8.14.4/8.14.4) with ESMTP id x2OD53aM611628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 24 Mar 2019 06:05:06 -0700 X-UCInetID: ocinquin Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: jshell libiconv problem From: Olivier Cinquin In-Reply-To: <20190324065153.GA53471@misty.eyesbeyond.com> Date: Sun, 24 Mar 2019 06:05:02 -0700 Cc: freebsd-java@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <46849605-9D62-4F52-AAA2-87B12D6AFC4E@uci.edu> <20190324065153.GA53471@misty.eyesbeyond.com> To: Greg Lewis X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 8ACF2837E7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of olivier.cinquin@uci.edu designates 128.200.80.6 as permitted sender) smtp.mailfrom=olivier.cinquin@uci.edu X-Spamd-Result: default: False [-1.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.907,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:128.200.0.0/16]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; DMARC_NA(0.00)[uci.edu]; NEURAL_SPAM_SHORT(0.41)[0.413,0]; NEURAL_HAM_LONG(-0.93)[-0.935,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[6.80.200.128.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: mta.service.uci.edu]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:299, ipnet:128.200.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.01)[country: US(-0.07)] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2019 13:05:25 -0000 > On Mar 23, 2019, at 11:51 PM, Greg Lewis = wrote: >=20 > On Sat, Mar 23, 2019 at 09:47:33AM -0700, Olivier Cinquin wrote: >> Hi, >> jshell from the openjdk11 or openjdk12 ports won't launch. It fails = as follows: >> Launching JShell execution engine threw: ld-elf.so.1: = /usr/local/openjdk11/lib/libjdwp.so: Undefined symbol "libiconv_open" >>=20 >> The following workaround solves the problem: >> env LD_PRELOAD=3D/usr/local/lib/libiconv.so = /usr/local/openjdk12/bin/jshell >>=20 >> Just thought I'd mention it. >>=20 >> Thanks to all involved for their great work on keeping Java = up-to-date on FreeBSD. >> Olivier >=20 > Thanks Olivier. Can you please enter a bug report on this? If not, = then > I'll create one so we can track this. Done. Incidentally, I read somewhere that the FreeBSD foundation has access to = the Java Compatibility Kit. Would it be a good idea to set up automated testing using that kit? Olivier >=20 > I expect we'll need to change how we link jshell to fix it. >=20 > -- Greg >=20