Re: Loading dylibs inside of a framework
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.