Re: Redefined symbols in linked dylibs
Re: Redefined symbols in linked dylibs
- Subject: Re: Redefined symbols in linked dylibs
- From: "Ben Kennedy" <email@hidden>
- Date: Sat, 1 Nov 2003 13:07:01 -0500
- Organization: Zygoat Creative Technical Services
Ok, Scott et al.,
I'm using the 10.1.5 SDK, building a classic target, linking against
libcrypto. The app will not launch on 10.2 due to the dependency on
libcrypto.0.9.7. If I punch Xcode in the gut while adjusting the
libcrypto path to libcrypto.0.9, it still dutifully resolves the alias
and insists on linking against 0.9.7.
Is it impossible to dynamic link libcrypto in such a manner that my app
will run on 10.2? Do I need to revert to ProjectBuilder and wait for the
maintenance release? Surely I am missing something here.
-ben
On 27 10 2003 at 2:55 pm -0500, Scott Tooker wrote:
>Right now Xcode is too agressive about resolving symlinks for
>references (which leads to the problem being described). This is
>something we want to fix in a future release.
>
>Scott
>
>On Oct 25, 2003, at 10:01 PM, Frank Midgley wrote:
>
>> On Oct 25, 2003, at 11:48 PM, Ben Kennedy wrote:
>>
>>> However, I haven't figured out how to apply this in practice. If I
>>> remove libz and libcrypto from the Frameworks and Libraries build
>>> phase,
>>> the build fails with undefined references. When I stick them back in,
>>> they are doubly-linked.
>>
>> The only thing I found that worked was not to link against the symlink
>> (/usr/lib/libcrypto.dylib) but to link against an actual library
>> (/usr/libcrypto.0.9.7.dylib) directly. This unfortunately puts an OS
>> dependency on your target but I haven't figured out any other way to
>> handle it.
>>
>> -Frank
>>
>> =========================
>> Frank Midgley
>> email@hidden
>> http://homepage.mac.com/knarf
>> _______________________________________________
>> xcode-users mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/xcode-users
>> Do not post admin requests to the list. They will be ignored.
>
>[demime 0.98b removed an attachment of type application/pkcs7-signature
>which had a name of smime.p7s]
>_______________________________________________
>xcode-users mailing list | email@hidden
>Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/
>xcode-users
>Do not post admin requests to the list. They will be ignored.
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.