tech-pkg archive

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

devel/libnet wrecks libreoffice build



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?


-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index