This discussion is archived
0 Replies Latest reply: Mar 12, 2007 11:22 AM by 360104 RSS

Another Unsatisfied link error

360104 Newbie
Currently Being Moderated
I've got the demo that downloads an ics from the server working on my Mac Powerbook (PPC). When I moved the bundle over to my Intel Mac, I get errors. I've set the DYLD_LIBRARY_PATH, set the classpath on the commandline and all the libs are where they are supposed to be. The .bash_profile's on both machines are identical and as far as I can reason the environments are exactly the same.

* CFMSupport is installed in /Library/Application Support
* OracleCalendarSDK.bundle is in same dir as calendar.class
* libcapi.dylib & libscsdkjni.jnilib are both in the lib dir along with csdk.jar.

here is what happens:

# java -classpath /Users/<myuser>/projects/calendar/lib/csdk.jar:. calendar.

Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/<myuser>/projects/calendar/lib/libcsdkjni.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at oracle.calendar.sdk.Api.loadJniLib(Unknown Source)
at oracle.calendar.sdk.Api.init(Unknown Source)
at calendar.main(

The only thing I can think at this point is that the libraries aren't universal and so it's tripping on incompatible binaries? Anyone have experience with this?