• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to make a program look for dylibs other than /usr/local/lib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make a program look for dylibs other than /usr/local/lib?


  • Subject: Re: How to make a program look for dylibs other than /usr/local/lib?
  • From: "parag vibhute" <email@hidden>
  • Date: Tue, 11 Dec 2007 18:23:43 +0530

Have u tried the option  -dylib_file of gcc which is mentioned in doc of dynamic library. I tried but it did not work, so want to check am I doing anything wrong?

Thanks,
Palav

On Dec 11, 2007 5:16 PM, Alastair Houghton < email@hidden> wrote:
On 11 Dec 2007, at 11:14, parag vibhute wrote:

> Thanks. Ya that worked for 10.4 OS.
>
> But I would like to know does @execuable_path supports all 10.3+,
> 10.4+ & 10.5+ OS?

AFAIR, @executable_path was introduced in 10.3, so yes.

> & second question is what is exact meaning of "shared library
> identification  name  of  a  dynamic shared  library" which is
> mentioned in man page of install_name_tool & what is different
> between shared library  identification  name & install name.


It's the path that's hard-coded into the dylib when it's built that
says where it will be installed.

I think that the "identification name" is the thing that will be
copied into images that link against a dylib, whereas the "install
name" is such a copy.  A library will have one identification name,
but it may contain many install names.  I don't know if that
distinction is official or if I've just invented it by reading the
docs a particular way, but that's how I see it.

Kind regards,

Alastair.

--
http://alastairs-place.net





--

There are many things in your life that will catch your eye but only a few will catch your heart....pursue those'.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to make a program look for dylibs other than /usr/local/lib?
      • From: Alastair Houghton <email@hidden>
References: 
 >Re: How to make a program look for dylibs other than /usr/local/lib? (From: "parag vibhute" <email@hidden>)
 >Re: How to make a program look for dylibs other than /usr/local/lib? (From: Alastair Houghton <email@hidden>)
 >Re: How to make a program look for dylibs other than /usr/local/lib? (From: "parag vibhute" <email@hidden>)
 >Re: How to make a program look for dylibs other than /usr/local/lib? (From: Alastair Houghton <email@hidden>)
 >Re: How to make a program look for dylibs other than /usr/local/lib? (From: "parag vibhute" <email@hidden>)
 >Re: How to make a program look for dylibs other than /usr/local/lib? (From: "parag vibhute" <email@hidden>)
 >Re: How to make a program look for dylibs other than /usr/local/lib? (From: Alastair Houghton <email@hidden>)
 >Re: How to make a program look for dylibs other than /usr/local/lib? (From: "parag vibhute" <email@hidden>)
 >Re: How to make a program look for dylibs other than /usr/local/lib? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Best way to report UI hangs?
  • Next by Date: Re: How to make a program look for dylibs other than /usr/local/lib?
  • Previous by thread: Re: How to make a program look for dylibs other than /usr/local/lib?
  • Next by thread: Re: How to make a program look for dylibs other than /usr/local/lib?
  • Index(es):
    • Date
    • Thread