Re: install_name_tool

2008-06-20 Thread Martin
Sometimes you just need someone to tell you to read *again* the man page and actually try to understand what the words mean ;-) Thanks Sherm! -Martin On Jun 20, 2008, at 12:25 PM, Sherm Pendley wrote: On Fri, Jun 20, 2008 at 3:12 AM, Martin <[EMAIL PROTECTED]> wrote: Thanks for your answ

Re: install_name_tool

2008-06-20 Thread Sherm Pendley
On Fri, Jun 20, 2008 at 3:12 AM, Martin <[EMAIL PROTECTED]> wrote: > > Thanks for your answers but it's still not working here. Plus I don't really > see why I should use "-id" option since what I really want to do is *change* > one of the paths. Straight from "man install_name_tool": -cha

Re: install_name_tool

2008-06-20 Thread Sherm Pendley
On Thu, Jun 19, 2008 at 5:56 PM, Laurent Cerveau <[EMAIL PROTECTED]> wrote: > > On Jun 19, 2008, at 11:02 PM, Kyle Sluder wrote: > >> On Thu, Jun 19, 2008 at 4:40 PM, Martin <[EMAIL PROTECTED]> wrote: >>> >>> And as you can see, nothing has changed and the first line has certainly >>> not >>> been

Re: install_name_tool

2008-06-20 Thread Jean-Daniel Dupas
You don't want to change the path, you want to change the id of your library. -change is intended to be used to change the path of a dependent library in an other binary. install_name_tool -id @executable_path../../Frameworks/Foo.framework/ Versions/A/Foo Foo.framework/Foo But as I said,

Re: install_name_tool

2008-06-20 Thread Martin
Thanks for your answers but it's still not working here. Plus I don't really see why I should use "-id" option since what I really want to do is *change* one of the paths. Back to my Foo framework: $ otool -L Foo.framework/Foo /Users/martin/Library/Frameworks/Foo.framework/Versions/A/Foo (

Re: install_name_tool

2008-06-19 Thread Laurent Cerveau
On Jun 19, 2008, at 11:02 PM, Kyle Sluder wrote: On Thu, Jun 19, 2008 at 4:40 PM, Martin <[EMAIL PROTECTED]> wrote: And as you can see, nothing has changed and the first line has certainly not been replaced by "bla". What am I doing wrong? Shouldn't you be using the -id flag, not -change?

Re: install_name_tool

2008-06-19 Thread Jean-Daniel Dupas
Le 19 juin 08 à 23:02, Kyle Sluder a écrit : On Thu, Jun 19, 2008 at 4:40 PM, Martin <[EMAIL PROTECTED]> wrote: And as you can see, nothing has changed and the first line has certainly not been replaced by "bla". What am I doing wrong? Shouldn't you be using the -id flag, not -change? --

Re: install_name_tool

2008-06-19 Thread Kyle Sluder
On Thu, Jun 19, 2008 at 4:40 PM, Martin <[EMAIL PROTECTED]> wrote: > And as you can see, nothing has changed and the first line has certainly not > been replaced by "bla". What am I doing wrong? Shouldn't you be using the -id flag, not -change? --Kyle Sluder __