jshell libiconv problem
Olivier Cinquin
olivier.cinquin at uci.edu
Sun Mar 24 13:05:25 UTC 2019
> On Mar 23, 2019, at 11:51 PM, Greg Lewis <glewis at eyesbeyond.com> wrote:
>
> 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.
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
>
> I expect we'll need to change how we link jshell to fix it.
>
> -- Greg
>
More information about the freebsd-java
mailing list