Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2019 06:05:02 -0700
From:      Olivier Cinquin <olivier.cinquin@uci.edu>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: jshell libiconv problem
Message-ID:  <AC94B720-C071-4D32-8A93-CCE984696B84@uci.edu>
In-Reply-To: <20190324065153.GA53471@misty.eyesbeyond.com>
References:  <46849605-9D62-4F52-AAA2-87B12D6AFC4E@uci.edu> <20190324065153.GA53471@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> On Mar 23, 2019, at 11:51 PM, Greg Lewis <glewis@eyesbeyond.com> =
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC94B720-C071-4D32-8A93-CCE984696B84>