x2on/libssh2-for-iOS — Issue #2: library not found for -lcrypto
Author: volure
Created: 2011-12-31 04:33:21+00:00
State: open

I cant seem to get this to compile.
I ran the ./build-all libgcrypt and i even ran ./build-all openssl
The app wont build in xcode.
I seem to be missing all the .a files you have included.

Ld /Users/volure/Library/Developer/Xcode/DerivedData/libssh2-for-iOS-grnvhdkuwtzzyhgxbowfqlfrdgzb/Build/Products/Debug-iphoneos/libssh2-for-iOS.app/libssh2-for-iOS normal armv7
cd /Users/volure/Documents/github/libssh2-for-iOS
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/volure/Library/Developer/Xcode/DerivedData/libssh2-for-iOS-grnvhdkuwtzzyhgxbowfqlfrdgzb/Build/Products/Debug-iphoneos -L/Users/volure/Documents/github/libssh2-for-iOS/lib -L/Users/volure/Documents/github/libssh2-for-iOS/../SSHCore/SSHCore -F/Users/volure/Library/Developer/Xcode/DerivedData/libssh2-for-iOS-grnvhdkuwtzzyhgxbowfqlfrdgzb/Build/Products/Debug-iphoneos -filelist /Users/volure/Library/Developer/Xcode/DerivedData/libssh2-for-iOS-grnvhdkuwtzzyhgxbowfqlfrdgzb/Build/Intermediates/libssh2-for-iOS.build/Debug-iphoneos/libssh2-for-iOS.build/Objects-normal/armv7/libssh2-for-iOS.LinkFileList -dead_strip -miphoneos-version-min=4.3 -framework Foundation -framework UIKit -framework CoreGraphics -lcrypto -lgcrypt -lgpg-error -lssh2 -lssl -lz -o /Users/volure/Library/Developer/Xcode/DerivedData/libssh2-for-iOS-grnvhdkuwtzzyhgxbowfqlfrdgzb/Build/Products/Debug-iphoneos/libssh2-for-iOS.app/libssh2-for-iOS

ld: library not found for -lcrypto
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1