• 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
More File Paths for dylibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More File Paths for dylibs


  • Subject: More File Paths for dylibs
  • From: Dave <email@hidden>
  • Date: Wed, 30 May 2007 18:37:59 +0100

Hi,

I've been search for info and playing around to try and get this resolved. I'm not sure where to use the @executabe_path and @loader_path or which one I need to use. Do I set it in the install_name_tool utility? If so, which of the two paths do I use given the scenario below.

I tried setting the path (with install_name_tool) as so:

"@executable_path/../Libs/libFPA.dylib"   and
"@loader_path/../Libs/libFPA.dylib"   and

But I still can't get it to load. Any idea?

It would help if I knew where to apply the @xxx paths (XCode? Install_name_tool? Something else?) or at least be able to see what the path expanded to!

Thanks a lot
All the Best
Dave

Hi All,

I have a PlugIn that uses a third party dynamic library. I am totally confused as how to setup the File Paths in my PlugIn so that it can locate the dynamic library. This is the folder structure I *have* to use:


RunTime/PlugIns/ This is the folder that contains my PlugIn (FPAPlugIn.bundle)
RunTime/Libs/ This is the folder that contains the third party dylib (libFPA.dylib)


Up to now I have been using otool and install_name_tool to change the path, but of course these tools may not be available on user machines and the paths will change when the user installs.

While looking for information on this I've seen mention of a way of setting a relative path, but I can't seem to find out the exact details of how to do it and if it would work for what I am trying to do.

(I've tried to use @executable but I can't seem to find anything that tells me *exactly* what to do!)

If anyone could shed some light on this I'd be really grateful.

Thanks in Advance
All the Best
Dave

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40looktowindward.com


This email sent to email@hidden
_______________________________________________
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: More File Paths for dylibs
      • From: Mike Blaguszewski <email@hidden>
  • Prev by Date: Re: Cross-project Reference and Targets
  • Next by Date: Re: More File Paths for dylibs
  • Previous by thread: RE: Cross-project Reference and Targets
  • Next by thread: Re: More File Paths for dylibs
  • Index(es):
    • Date
    • Thread