• 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: Loading dylibs inside of a framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading dylibs inside of a framework


  • Subject: Re: Loading dylibs inside of a framework
  • From: Sam Goldman <email@hidden>
  • Date: Thu, 25 Apr 2002 20:30:18 -0700

[oops, forgot to cc to list]

You can not, at this time, put dylibs inside of a framework and load them
dynamically at runtime. It is just not supported because there is no
@executable_path for frameworks and there are other reasons I am sure.

OpenGL.framework does this: It hard links the dylibs so the framework can
find them at runtime, but to do this, the Framework has to be in a set
position. That is a benefit of being a standard placed framework, I guess.

If you have the static library, just use that and have it become part of the
actual framework.

- Sam

On 4/25/02 7:54 PM, "Richard Schreyer" <email@hidden> wrote:

> I am trying to create a framework that contains some of it's code in
> dylib files inside the bundle somewhere.
>
> When an application tries to load the framework, it gives me an error
> saying that it couldn't find the files because they were not in the same
> directory as the executable. How do I set up the framework so it knows
> how to find it's dylibs at runtime?
>
> Thanks,
> Richard Schreyer
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Loading dylibs inside of a framework
      • From: Sherm Pendley <email@hidden>
References: 
 >Loading dylibs inside of a framework (From: Richard Schreyer <email@hidden>)

  • Prev by Date: Re: Development of database applications
  • Next by Date: Re: Loading dylibs inside of a framework
  • Previous by thread: Loading dylibs inside of a framework
  • Next by thread: Re: Loading dylibs inside of a framework
  • Index(es):
    • Date
    • Thread