So I've been trying to get dynamic libraries to work in my XCode project under Mac OS X. So far no joy.
I am able to load the dylib file, but when I call dlsym to get the function pointer, it returns 0 and dlerror says symbol not found.
So I am wondering if there is a simple way to list the symbols that are exported from a dylib file. Any ideas would be great.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…