Re: Static library confusion
Re: Static library confusion
The error message indicates that your app is linked to a
"ZonicKRM.bundle" framework rather than being statically linked. What
happens if you delete the bundle and re-link your application?
Hi Mark.
Thanks for the reply.
This my problem. I am only linking to the static Library.
I don't know where this run time bundle reference is coming from!
I imagine that the static library is not correctly linked somehow, but
I cannot quite see where I have gone astray.
On 6 Jan 2009, at 23:59, Mark Wagner wrote:
On Tue, Jan 6, 2009 at 07:10, email@hidden
<email@hidden> wrote:
MY GC app is required to link to a static library : libZonicKRM.a
The library is documented to support GC apps.
I have added the library to the project and linking proceeds okay.
But when code in the library is called the console reports a
dlopen() error
- see below.
Why is dlopen() being called at all?
Running otool against the binary shows nothing obviously untoward.
The binary image seems large enough that the static lib has been
linked.
Is this a naming clash? or just core ignorance?
A demo app is supplied incorporating libZonicKRM.a and it runs
okay, both
for unmanaged and managed memory.
The ld command lines for the faulty app and the working demo are
below.
Thanks in advance.
Faulty app console report:
=====================
Error loading /Users/Jonathan/Library/Caches/Cleanup At
Startup/uk.co.zonic.zonickrm/client_2836_1231252747/ZonicKRM.bundle/
Contents/MacOS/ZonicKRM:
dlopen(/Users/Jonathan/Library/Caches/Cleanup At
Startup/uk.co.zonic.zonickrm/client_2836_1231252747/ZonicKRM.bundle/
Contents/MacOS/ZonicKRM,
262): no suitable image found. Did find:
/Users/Jonathan/Library/Caches/Cleanup At
Startup/uk.co.zonic.zonickrm/client_2836_1231252747/ZonicKRM.bundle/
Contents/MacOS/ZonicKRM:
GC capability mismatch
--
Mark Wagner
Jonathan Mitchell
Central Conscious Unit
http://www.mugginsoft.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