Re: java library deps on custom build

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

 



Hi,

(adding fedora-devel-java-list to the discussion)

* Christoph Höger <choeger@xxxxxxxxxxxxxxx> [2008-11-04 07:09]:
> 
> I've just compiled scilab on my f9 laptop and tried to run it, but get a
> lot of libraries missing. Ldd says that some java libs (libjava.so,
> libjvm.so) are not found. Those libraries float around
> in /usr/lib/java... Shouldn't that mean that theyre found automagically
> or do I really have to add every single subfolder to LD_LIBRARY_PATH?

I forwarded your question to Tom Fitzsimmons and he said this:

> If an application is using the JNI Invocation API -- I wouldn't be
> surprised if scilab does this -- then the application should dlopen any
> Java DSOs it needs.  It's annoying to find them because they're
> non-standard.  The Fedora packages can just hard-code to
> java-1.6.0-openjdk's locations, though they need to ensure they have the
> proper architecture modifiers in the paths, e.g.:
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64.  OpenOffice has some
> helper functions for finding these things.  Maybe these could be rolled
> into a libjpackage.so convenience library for reuse.
> 
> Tom

HTH,

Andrew

--
fedora-devel-java-list mailing list
fedora-devel-java-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux