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
> h.Launcher
>         java.lang.UnsatisfiedLinkError: /usr/pkg/java/openjdk11/lib/ /usr/pkg/java/openjdk11/lib/ Undefined PLT symbol "reuseport_available" (symnum = 4)
> reuseport_available is defined in /usr/pkg/java/openjdk11/lib/
> But from devel/libnet is used instead:
> $ ldd /usr/pkg/java/openjdk11/lib/|grep libnet
>        -lnet => /usr/pkg/lib/
> 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.


Home | Main Index | Thread Index | Old Index