How to load dylib on Mac?

2009-07-23 Thread Max (Weijun) Wang
Hi All I'm totally new to C programming on Mac. On other systems I can call dlopen("libkrb5.so", RTLD_NOW) to return a non-NULL pointer to the library. However, on Mac, dlopen("libkrb5.dylib", RTLD_NOW) returns NULL even if I can see the / usr/lib/libkrb5.dylib is right there. What's wrong h

hg: bsd-port/bsd-port/jdk: . Dynamically look up fdopendir rather than assuming it exists on all

2009-07-23 Thread glewis
Changeset: 6058ce1924ab Author:gle...@misty.eyesbeyond.com Date: 2009-07-23 19:23 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/6058ce1924ab . Dynamically look up fdopendir rather than assuming it exists on all platforms. This fixes the build on MacOS X where th