the manpage mentions MH_EXECUTABLE. that should be MH_EXECUTE. furthermore, -N / --lib doesn't seem to have any effect
(In reply to comment #0) > furthermore, -N / --lib doesn't seem to have any effect same holds for scanelf: $ scanelf -N bla.so /usr/lib TYPE LIB FILE ET_DYN /usr/lib/libcairo.so.2.10800.4 ... ... ... In any case it's not clear to me how it should be used if it does work correctly.
Mike, This is all you. I had removed the scanmaco from the public releases due to it's licenses unclarity w/ some header files.
(In reply to comment #2) > I had removed the scanmaco from the public releases due to > it's licenses unclarity w/ some header files. Ohw, really? What needs clearing up there? I pulled it from public documentation as far as I know... Probably luck that it doesn't compile then, otherwise I'd only noticed when Portage would break down ;)
you're just not using -N properly. the output you show makes it look like it's working perfectly fine. $ scanelf -qRNlibncurses.so.5 /lib/ libncurses.so.5 /lib/libreadline.so.5.2 libncurses.so.5 /lib/libdevmapper-event-lvm2mirror.so.2.02 libncurses.so.5 /lib/libeinfo.so.1 libncurses.so.5 /lib/libgpm.so.1.20.0 libncurses.so.5 /lib/libhistory.so.5.2 libncurses.so.5 /lib/libedit.so
Appears to work fine indeed pipping@quicksand ~ $ scanmacho -qRN/usr/lib/libSystem.B.dylib /usr/lib | wc -l 863 pipping@quicksand ~ $ scanmacho -qRN/usr/lib/libSystem.A.dylib /usr/lib | wc -l 0 Either I'm too dumb for the tool or the manpage could use polish :)
same here. I fixed the manpage typo, so there's nothing broken here any more then.
feel free to recommend better wording/description and we can get it in