Hi All
I've found something new.
It seems the dlopen() function in Mac is quite normal, but there are
some problem inside OpenJDK.
I'm calling dlopen("libkrb5.dylib", RTLD_NOW) inside OpenJDK now and it
returns NULL. However, if I manually set DYLD_LIBRARY_PATH or
DYLD_FALLBACK_LIBRARY_PATH to /
In fact, why is DYLD_FALLBACK_LIBRARY_PATH updated in src/solaris/bin/
java_md.c? Why not DYLD_LIBRARY_PATH?
DYLD_LIBRARY_PATH should be preferred than DYLD_FALLBACK_LIBRARY_PATH.
If the libjpeg.dylib is in DYLD_LIBRARY_PATH, it will be loaded
instead of /usr/lib/libjpeg.dylib.
Thanks
Max
On Jul 24, 2009, at 8:11 AM, Max (Weijun) Wang wrote:
In fact, why is DYLD_FALLBACK_LIBRARY_PATH updated in src/solaris/bin/
java_md.c? Why not DYLD_LIBRARY_PATH?
DYLD_LIBRARY_PATH should be preferred than DYLD_FALLBACK_LIBRARY_PATH.
If the libjpeg.dylib is in DYLD_LIBRARY_PATH, it will be loa
On Jul 24, 2009, at 8:11 AM, Max (Weijun) Wang wrote:
In fact, why is DYLD_FALLBACK_LIBRARY_PATH updated in src/solaris/bin/
java_md.c? Why not DYLD_LIBRARY_PATH?
DYLD_LIBRARY_PATH should be preferred than DYLD_FALLBACK_LIBRARY_PATH.
If the libjpeg.dylib is in DYLD_LIBRARY_PATH, it will be loa