PDA

View Full Version : library not found for -lcrypto_armv6




utklyf
Dec 12, 2009, 03:34 PM
Hi, I am new developer of iphone SDK. I am currently trying to complie the iphone app 'Irdesktop' on my i-mac.

I got the compiling through all files. But there is one last linking error:

ld: library not found for -lcrypto_armv6

Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2
failed with exit code 1


Would you please tell me how to fix it? Thanks a lot



PhoneyDeveloper
Dec 12, 2009, 03:44 PM
That error message indicates that a library file named libcrypto_armv6.x is missing. The x is probably .a or .dylib.

I don't see any library file with that name in my iPhoneOS SDK folders so I guess it is meant to be built by the developer from source code that you download from the internet. Maybe there are some instructions in the project that you downloaded about this.

If the missing library was meant to be built as a dylib that wouldn't be allowed by the SDK agreement so I'll assume that it's meant to be built as a .a static library.