Linux Archive

Linux Archive (
-   Fedora Development Java (
-   -   Dealing with LD_LIBRARY_PATH for a package using JNI (

"Mary Ellen Foster" 04-08-2008 12:26 PM

Dealing with LD_LIBRARY_PATH for a package using JNI
I'm currently working on enabling the "jpl" Java interface to the SWI
Prolog (package is called "pl" in Fedora). This provides a
bidirectional interface between Prolog and Java -- you can call Prolog
from Java or (what I'm doing in my current project) call Java from

I'm attempting to follow the Java packaging guidelines for JNI-using
projects and putting jpl.jar and into $LIBDIR/pl-jpl and
patching files so that the libraries get loaded, and that's going

One thing I'm not sure how to deal with: is linked against and On my machine, that means I need to set
before I run Prolog, and the same is probably the case if I wanted to
use the Java-to-Prolog direction. Is this acceptable, or is there some
other solution I should use here?

Thanks for any suggestions,


Mary Ellen Foster --
Informatik 6: Robotics and Embedded Systems, Technische Universität München
and ICCS, School of Informatics, University of Edinburgh

fedora-devel-java-list mailing list

All times are GMT. The time now is 01:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.