I am trying to compile some source code from Github on Mac OSX El Capitan. I have installed XCode and MacPorts as required and I'm following the build guide at the below URL:-
https://github.com/libyal/libewf/wiki/Building
Unfortunately, when I try to run one of the command line tools, I get the following error:-
dyld: Library not loaded: /usr/lib/libewf.2.dylib
Referenced from: /Users/me/Desktop/libewf/tmp/usr/bin/./ewfmount
Reason: image not found
Trace/BTP trap: 5
When I run, mdfind libewf.2.dylib, it returns the below:-
/Users/me/Desktop/libewf/tmp/usr/lib/libewf.2.dylib
Any suggestions on what is wrong with this? To me, it looks like the .dylib is in the correct location or is it looking at the main /usr directory on my Macbook as opposed to the temporary one I have created in /Users/me/Desktop/libewf
Thanks all