Using install_name_tool what's going wrong?

Posted by 0x80 on Stack Overflow See other posts from Stack Overflow or by 0x80
Published on 2010-06-06T18:20:10Z Indexed on 2010/06/06 18:22 UTC
Read the original article Hit count: 362

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about osx

Related posts about install-name-tool