On 11 Dec 2007, at 14:01, parag vibhute wrote:
> On Dec 11, 2007 7:06 PM, Alastair Houghton <
email@hidden> > wrote:
>> On 11 Dec 2007, at 13:30, parag vibhute wrote:
>>
>> > 2. The problem you're trying to solve.
>> >
>> > The same problem i.e. do not want to change environment variables &
>> > also want to place dependant dynamic library at non standard
>> location.
>>
>> You need to use install_name_tool. The -dylib_file option tells the
>> linker (not the dynamic linker) where to find a dylib. It's used if
>> you are trying to link against something that hasn't already been
>> copied to its final location. The final image will still contain the
>> path that was hard-coded into the dylib.
>
> Not understood ur statement "It's used if you are trying to link
> against something that hasn't already been copied to its final
> location." Can u please eloborate it in detail? Is it same as
> Library search path?
It's not what you want.