pkgsrc-Users archive

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

Re: pkgsrc openjdk7 and eclipse and suse-12 does not work



Hi,

Thus wrote Frank Wille (frank%phoenix.owl.de@localhost):

> Alternatively I tried to download a recent Eclipse archive from eclipse.org.
> It opens a small empty window and then a second with an error message:
> 'Failed to load the JNI shared library
> "/usr/pkg/java/openjdk7/bin/../jre/lib/i386/client/libjvm.so".'
> And in the console: "libpthread.so.1: shared object cannot be opened".

NetBSD-6 or later? export LD_PRELOAD=/usr/lib/libpthread.so.1 before the
Java call, try again.

> libjvm.so is refering to NetBSD's libpthread.so.1, which exists. But it
> seems that the library is searched in /emul/linux only, because "eclipse"
> was a Linux binary?

It means that in NetBSD-6 and later dlopen of libpthread is prevented
instead of only advised against.

regards,
        spz
-- 
spz%serpens.de@localhost (S.P.Zeidler)


Home | Main Index | Thread Index | Old Index