• 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
alias link to libcrypto not working across different OS X versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alias link to libcrypto not working across different OS X versions


  • Subject: alias link to libcrypto not working across different OS X versions
  • From: Steve Mykytyn <email@hidden>
  • Date: Wed, 19 Aug 2009 17:52:27 -0700

I have an app that needs to work across recent OS X versions. It links in the libcrypto.dylib, which is of course an alias.

  Path: /usr/lib/libcrypto.dylib

Full Path: /usr/lib/libcrypto.0.9.x.dylib (anonymized to respect NDAs)

App works fine on the dev machine with the newer OS X release, but when run on an older PowerPC machine with an older OS X, app crashes

1. because it can't find /usr/lib/libcrypto.0.9.x.dylib

2. if weak-linked, it simply does not load anything and then crashes.

The older machine does not have /usr/lib/libcrypto.0.9.x.dylib, it has /usr/lib/libcrypto.0.9.y.dylib, which is where the alias resolves, but somehow the app does not get it right.

I have everything set up correctly as far as SDK and dev target because I can detect a weak-linked Apple framework if it's there, it's just this bit with libcrypto that seems to be the issue.

Suggestions?


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: alias link to libcrypto not working across different OS X versions
      • From: "Adam R. Maxwell" <email@hidden>
    • Re: alias link to libcrypto not working across different OS X versions
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: When do I need to override hash?
  • Next by Date: Re: When do I need to override hash?
  • Previous by thread: Re: otest output in xUnit XML format?
  • Next by thread: Re: alias link to libcrypto not working across different OS X versions
  • Index(es):
    • Date
    • Thread