• 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: Having trouble with -dylib_file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Having trouble with -dylib_file


  • Subject: Re: Having trouble with -dylib_file
  • From: Peter O'Gorman <email@hidden>
  • Date: Tue, 06 Jan 2009 00:34:51 -0600

Jeff Schriebman wrote:
> Hello,
>

Hi Jeff,

> I can't seem to get an alternate run time library path associated with a
> dynamic library.

>
> I have tried various combinations of the -dylib_file loader directive
> including the following one and my 10.4 PPC system is still looking for
> the original library in the X11 directory instead of the one in my
> bundle framework.
> -dylib_file /usr/X11/lib/libpng.3.dylib:@executable_path/libpng.3.dylib

-dylib_file is not correct, if you're coming from linux, it's more like
-rpath-link than -rpath.

Please read the man page for install_name_tool, and , you should look at
http://developer.apple.com/documentation/developertools/conceptual/MachOTopics/Articles/loading_code.html
http://www.cocoadev.com/index.pl?ApplicationLinking

Peter
--
Peter O'Gorman
http://pogma.com
 _______________________________________________
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

References: 
 >Having trouble with -dylib_file (From: Jeff Schriebman <email@hidden>)

  • Prev by Date: Re: Having trouble with -dylib_file
  • Next by Date: Re: debugging external makefile projects
  • Previous by thread: Re: Having trouble with -dylib_file
  • Next by thread: Intel 11 Compilers in XCode 3.1
  • Index(es):
    • Date
    • Thread