Subject: Darwin emul - dyld: can't map library
To: None <tech-kern@netbsd.org>
From: None <d.zanon@infinito.it>
List: tech-kern
Date: 08/25/2005 16:52:25
Hi all. Sorry for sending to such a technical ml, but I suppose netbsd-help@ 
is too general-purpose for this question... please redirect&forgive me if I'm 
wrong
I am getting this trying to run any Darwin binary on NetBSD/macppc (-current 
kernel, 2.0.2 userland).

power# pwd
/mnt/osx/bin
power# ./cat
mapped darwin_commpage at 0xffff8000
dyld: ./cat can't map library: /usr/lib/libSystem.B.dylib (kern return = 12)
Trace/BPT trap (core dumped)

Obviously /mnt/osx/usr/lib/libSystem.B.dylib is present
It happens with both OS X 10.3.9 and Darwin 6.6.2 (the latter installed from 
pkgsrc/emul/darwin_lib)
What's going on? Can anyone help, please?

Thank you very much :)

davide