I have run into a rather annoying problem after updating to Xcode 4.0.1. Whenever I try to use subversion, either from within Xcode or from the command line, I get the following error:
dyld: Symbol not found: _apr_stat$INODE64
Referenced from: /usr/lib/libsvn_subr-1.0.dylib
Expected in: /usr/lib/libapr-1.0.dylib
Trace/BPT trap
I suspect it has something to do with libapr-1.0.dylib
missing 64 bit support, but I haven't got a clue how to fix it.
Anybody else ran into the same problem, or know how to fix this?
I've just tried the following:
shigerello> nm -arch all /usr/lib/libapr-1.0.3.8.dylib | grep architecture
/usr/lib/libapr-1.0.3.8.dylib (for architecture x86_64):
/usr/lib/libapr-1.0.3.8.dylib (for architecture i386):
/usr/lib/libapr-1.0.3.8.dylib (for architecture ppc7400):
shigerello> nm -arch all /usr/lib/libapr-1.0.3.8.dylib | grep apr_stat
00000000000085fc T _apr_stat
0000000000008956 T _apr_stat$INODE64
00007c9c T _apr_stat
00007fb4 T _apr_stat$INODE64
00007c1c T _apr_stat
00008014 T _apr_stat$INODE64
This is not much help, but it seems 64-bit is supported and the requested symbol (_apr_stat$INODE64) does exist in libapr-1.0.dylib. Hmm, odd.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.