JNI not working on SoyLatte

Trevor Harmon trevor at vocaro.com
Mon Apr 14 19:19:48 PDT 2008

On Apr 14, 2008, at 6:56 PM, Greg Lewis wrote:

> SoyLatte does require the library be .dylib instead of .jnilib, so  
> thats
> at least part of the puzzle.  If you want to find out what files its
> actually looking for in terms of the library you could run it under  
> the
> MacOS X equivalent of ktrace and find out where its looking.

Anybody know what the equivalent of ktrace is on Mac OS X?

> You could also try setting LD_LIBRARY_PATH since IIRC it does search  
> through there.

Yes, to get JNI to work on the bundled Apple port of Java 1.5, I have  
to set DYLD_LIBRARY_PATH to point to the directory containing the JNI  
library. However, neither DYLD_LIBRARY_PATH nor LD_LIBRARY_PATH seems  
to have any effect on SoyLatte.


More information about the porters-dev mailing list