tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/libnet wrecks libreoffice build



On Wed, Aug 04, 2021 at 12:55:37PM +0000, Emmanuel Dreyfus wrote:
> Hello
> 
> I am not sure of how that should be fixed. libreoffice's configure fails
> because java is not usable:
> 
> configure:42319: /usr/pkg/bin/ant -buildfile conftest.xml 1>&2
> Error: LinkageError occurred while loading main class org.apache.tools.ant.launc
> h.Launcher
>         java.lang.UnsatisfiedLinkError: /usr/pkg/java/openjdk11/lib/libnio.so: /usr/pkg/java/openjdk11/lib/libnio.so: Undefined PLT symbol "reuseport_available" (symnum = 4)
> 
> reuseport_available is defined in /usr/pkg/java/openjdk11/lib/libnet.so
> But libnet.so from devel/libnet is used instead:
> 
> $ ldd /usr/pkg/java/openjdk11/lib/libnio.so|grep libnet
>        -lnet => /usr/pkg/lib/libnet.so
> 
> If I run pkg_delete libnet, libreoffice's configure will succeed. But shoulnd't buildlink avoid this kind of troubles?

This is not about buildlink3, but rpath resolution order.

Joerg


Home | Main Index | Thread Index | Old Index