Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App linked on Leopard crashes on Tiger (curl.dylib)



William H. Schultz <email@hidden> wrote:

> I haven't run into your specific issue, so I can't say for certain  
> whether or not this will work.  Try running a script after your app  
> has been built that uses "install_name_tool" to change the internal  
> path from /usr/lib/libcurl.4.dylib to /usr/lib/libcurl.3.dylib.  Also,
> try using "-weak-lcurl" in your linker flags.  Your program will still
> launch if presented with an older library file, but you'll need to  
> make sure function pointers aren't NULL before calling them.

Is there a compiler switch to tell that

-weak-lcurl
or
-lcurl

will link to 

/usr/lib/libcurl.dylib 
instead of
/usr/lib/libcurl.4.dylib 

?
I have a lot of trouble to compile on Mac OS X 10.5 and link for 10.3.

Gruß
Christian
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: App linked on Leopard crashes on Tiger (curl.dylib) (From: "William H. Schultz" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.