[Qt-jambi-interest] OSX Issues with UnsatisfiedLinkError

Gunnar Sletta gunnar at trolltech.com
Mon Feb 9 11:05:35 CET 2009


Gregg Bolinger wrote:
> I've been trying everything in the docs to get jambi to work.  I can run 
> the demos with the included stub.  I can run the examples using the JAR 
> files if I run it as sudo since the native lib jar is being unpacked to 
> /private/temp/....

The preferred way of running the examples are using the .jar files, but 
I don't understand why you would need sudo access, as they are unpacked 
to current users private folder, which is writable for current user.

> However, any combination of using -java.library.path or 
> DYLIB_LIBRARY_PATH always results in the unsatisfiedlinkerror.  Any 
> suggestions?

Its either:
 > java -Djava.library.path=PATH_TO_LIBS

or

export DYLD_LIBRARY_PATH=PATH_TO_LIBS

 From your comments above it seems like you missspelled ;)

Be sure that if you built from source, that you include the paths both 
to Qt libraries and to Qt Jambi libraries.

best regards,
Gunnar



More information about the Qt-jambi-interest mailing list