I'm trying to change the install path of a dylib after it has been build. I use "otool -L" to check what the current path is. And then I do:
$ install_name_tool -change /my/current/path/libmine.dylib /my/new/path/libmine.dylib libmine.dylib
I don't get an error, but nothing changes. If I check the path again the old one is still there. Also the new path is a lot shorter then the old one, so no problem there, and I think the lib is even compiled with extra flag for more filepath space.
Any ideas?