jshell libiconv problem

Greg Lewis glewis at eyesbeyond.com
Sun Mar 24 06:52:06 UTC 2019


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"
> 
> The following workaround solves the problem:
> env LD_PRELOAD=/usr/local/lib/libiconv.so /usr/local/openjdk12/bin/jshell
> 
> Just thought I'd mention it.
> 
> Thanks to all involved for their great work on keeping Java up-to-date on FreeBSD.
> Olivier

Thanks Olivier.  Can you please enter a bug report on this?  If not, then
I'll create one so we can track this.

I expect we'll need to change how we link jshell to fix it.

-- Greg


More information about the freebsd-java mailing list