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-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux