I need to run DTrace for 32-bit executables on OSX. I have two machines running OSX 10.8.2. On one of them, /usr/lib/dtrace/libdtrace_dyld.dylib is bold binary, on the other - not:
/usr/lib/dtrace/libdtrace_dyld.dylib: Mach-O universal binary with 2 architectures /usr/lib/dtrace/libdtrace_dyld.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/lib/dtrace/libdtrace_dyld.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
vs
/usr/lib/dtrace/libdtrace_dyld.dylib: Mach-O 64-bit dynamically linked shared library x86_64
Where do these two come from? How to get fat "officially", i.e. Do not just copy it from another machine?
This is what happens when I try to run dtrace in a 32-bit executable with 64-bit only dylib, btw:
dyld: could not load inserted library: /usr/lib/dtrace/libdtrace_dyld.dylib
source share