[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

Re: java library deps on custom build


(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-  OpenOffice has some
> helper functions for finding these things.  Maybe these could be rolled
> into a libjpackage.so convenience library for reuse.
> Tom



fedora-devel-java-list mailing list

[Home]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

  Web www.spinics.net