Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2019 23:51:53 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Olivier Cinquin <olivier.cinquin@uci.edu>
Cc:        freebsd-java@freebsd.org
Subject:   Re: jshell libiconv problem
Message-ID:  <20190324065153.GA53471@misty.eyesbeyond.com>
In-Reply-To: <46849605-9D62-4F52-AAA2-87B12D6AFC4E@uci.edu>
References:  <46849605-9D62-4F52-AAA2-87B12D6AFC4E@uci.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190324065153.GA53471>