Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As per this thread here ( first post in thread: <a href="http://lists.apple.com/archives/cocoa-dev/2009/Aug/msg01737.html" rel="noreferrer">http://lists.apple.com/archives/cocoa-dev/2009/Aug/msg01737.html</a> , "libcrypto on Snow Leopard" thread listing: <a href="http://lists.apple.com/archives/cocoa-dev/2009/Aug/thrd19.html" rel="noreferrer">http://lists.apple.com/archives/cocoa-dev/2009/Aug/thrd19.html</a> ), I believe the solution is to do the following:</p> <ol> <li><p>Go to /Developer/SDKs/MacOSX10.5.sdk/usr/lib/ . From this folder, copy "libcrypto.0.9.7.dylib" to your project source folder.</p></li> <li><p>Rename the file you just copied to "libmycrypto.dylib".</p></li> <li><p>Add the file you just renamed to your project. Make sure to remove any other linked libcrypto frameworks from your project.</p></li> <li><p>Go through your build settings, and make sure you <em>remove</em> the "-lcrypto" linker flag. (It's usually put in the "Other Linker Flags" setting.)</p></li> </ol> <p>Now you should be able to build your project and it will work on both 10.5 and 10.6.</p> <p>(libcrypto.0.9.7 is available on both 10.5 and 10.6. The file you copied is just a stub of the headers, but you're just linking against it, <em>not</em> embedding it in your project. Since the linker uses the install path not the actual filename of the dylib, naming it "libmycrypto.dylib" eliminates path conflicts, but still allows you to link against the library you need.</p> <p>FWIW, this is an Xcode problem. You should be able to link against /usr/lib/libcrypto.dylib -- the symbolic link -- and have it target the correct version of libcrypto on both 10.5 and 10.6. However, Xcode always seems to link to version 0.9.8 when building on Snow Leopard for some reason.)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload