Is Apple recommending we use ".dylib" now in the library name instead
of ".jnilib"?
Thanks,
Rob Ross, Lead Software Engineer
E! Networks
---------------------------------------------------
"Beware of he who would deny you access to information, for in his
heart he dreams himself your master." -- Commissioner Pravin Lal
On Nov 27, 2007, at 10:55 PM, Pratik Solanki wrote:
On Nov 27, 2007, at 10:15 PM, Landon Fuller wrote:
On Nov 27, 2007, at 10:08 PM, Shawn Protsman wrote:
I tried to put libHelloWorld.dylib in /usr/local/lib; I've tried
setting my LD_LIBRARY_PATH, etc. All of those produced the same
error. Any help would be greatly appreciated (whether there is
something I need to change in compiling the c file or the java
file, or anything else)!
It's actually a simple fix -- Apple's JVM expects JNI shared
libraries to have a .jnilib file suffix, instead of the normal
(for Darwin) .dylib.
We fixed this in Leopard. Java on Leopard will look for
lib<name>.dylib if it doesn't find lib<name>.jnilib.
Pratik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40eentertainment.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden