My mlvm build process (http://gist.github.com/243072) now completes but when I test it by having Java display it's version there is an error because the dynamic library: libjvm.dylib fails to load.
[sources]$ ./build/bsd-i586/j2sdk-image/bin/java -version Error occurred during initialization of VM Unable to load native library: dlopen(/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib, 1): Library not loaded: libjvm.dylib Referenced from: /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib Reason: image not found But the library appears to be there: [sources]$ ls -l build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib -rwxr-xr-x 1 stephen staff 152708 Jan 18 18:49 build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib I'm wondering if there is some circular reference because of the error message -- it appears to be saying that libjava.dylib itself couldn't load libjava.dylib ??? What tools can I use to check the validity of a dylib? Thanks for any tips.