Is there an ld-linux.so equivalent for mac?
- by Matt
I'm using the following command on Linux to change the default library path temporarily for the program being run:
/lib64/ld-linux-x86-64.so.2 --library-path /home/me/libs./myProgram
This runs myProgram and makes it check /home/me/libs first for its dynamically linked libraries.
So I want to do this on Mac too.. is there an equivalent? I'd like to avoid setting environment variables if possible.