Comments (6)
You probably need to set your baseline SDK to 3.0 instead of 3.1 or similar.
This worked for me.
Original comment by [email protected]
on 9 Mar 2010 at 8:18
from remail-iphone.
Same problem here, already set sdk to 3.0 with no luck.
Ld build/Debug-iphonesimulator/reMail.app/reMail normal i386
cd /remail/remail-iphone
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH
"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/
bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch
i386
-isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.
sdk
-L/remail/remail-iphone/build/Debug-iphonesimulator
-L/remail/remail-iphone/binaries/Developer/Platforms/iPhoneSimulator.platform/De
veloper/SDKs/iPhoneSimulator3.0.sdk/Debug/lib
-L/remail/remail-iphone
-L/remail/remail-iphone/../mailcore/libetpan/binaries/Developer/Platforms/iPhone
Simulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/Debug/lib
-F/remail/remail-iphone/build/Debug-iphonesimulator -F/remail/remail-iphone
-filelist
/remail/remail-iphone/build/ReMailIPhone.build/Debug-iphonesimulator/ReMail.buil
d/Objects-normal/i386/reMail.LinkFileList
-mmacosx-version-min=10.5 -ObjC
/remail/mailcore/build/Debug-iphonesimulator/libmailcore.a -framework Foundation
-framework CoreGraphics -framework SystemConfiguration -framework QuartzCore
-framework MessageUI -framework UIKit -liconv.2 -framework CoreLocation
-framework
AddressBook -framework StoreKit -lssl -lcrypto -lsasl2
/remail/three20/src/build/Debug-iphonesimulator/libThree20.a -o
/remail/remail-iphone/build/Debug-iphonesimulator/reMail.app/reMail
ld: library not found for -lssl
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
failed with exit code 1
Original comment by [email protected]
on 9 Mar 2010 at 10:30
from remail-iphone.
I believe this is indirectly caused by issue 3
(https://code.google.com/p/remail-iphone/issues/detail?id=3). Basically your
../mailcore/libetpan/binaries/Developer/Platforms/iPhoneSimulator.platform/**
directories don't exist.
Fix that this problem goes away also.
Nathanael
Original comment by [email protected]
on 10 Mar 2010 at 1:01
from remail-iphone.
Got "ld: library not found for -lssl" issue fixed in my env by reading the
steps in
previous posts.
Here are my steps, compiled from various posts:
/* From Terminal, need some links as workarounds. */
$cd /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator3.0.sdk/usr/lib
$sudo ln -s crt1.10.5.o crt1.10.6.o
$cd /usr/libexec/gcc
$sudo ln -s i686-apple-darwin10 i686-apple-darwin9
$cd /Users/<myuser>/<mywork>
$hg clone https://remail-iphone.googlecode.com/hg/ remail-iphone
$cd remail-iphone/
$sh pull_dependencies.sh
/* From xcode */
open ReMailIPhone xcode project and build it.
/***** f you encounter "ld: library not found for -lssl" build error in xcode,
it may be
because this directory is missing */
1. Check whether this directory exists in your env.
$ls
<mywork>/mailcore/libetpan/binaries/Developer/Platforms/iPhoneSimulator.platfor
m
2. If it does not, manually copy iPhoneSimulator.platform files in the build to
mailcore
$cd /Users/<myuser>/<mywork>/remail-iphone/build-crypto-deps
$cp -R binaries/Developer/Platforms/iPhoneSimulator.platform
../../mailcore/libetpan/binaries/Developer/Platforms
3. Rebuild remailiphone project from xcode using iPhoneSimulator3.0 SDK
Hope this will also fix your 'ld: library not found for -lssl' issue.
-Dennis
Original comment by [email protected]
on 14 Mar 2010 at 3:56
from remail-iphone.
Worked for me. Thx!
Original comment by [email protected]
on 15 Mar 2010 at 10:26
from remail-iphone.
Sounds like this problem is now solved?
Gabor
Original comment by [email protected]
on 20 Mar 2010 at 3:45
- Changed state: Fixed
from remail-iphone.
Related Issues (20)
- Shell command path in "pull_dependencies.sh" need to be updated. HOT 1
- Can't build in Xcode HOT 3
- make error
- Impossible to compile after performing all steps correctly
- Build dependencies scripts don't handle Xcode not installed in /Developer
- ClearSearchHistoryDelegate assigned to declared instance of ClearAttachementsDelegate.
- Error displaying attachments HOT 1
- Mailcore can not send attachment. HOT 4
- Html parsing is not proper HOT 1
- reMail does not build with SDK 4.3
- Building dependencies for armv7 HOT 3
- Building error on Xcode5.2 on MailCore API HOT 1
- Sources Don't Build
- can't build HOT 1
- Can't compile the project with xcode 4.3.1 HOT 1
- library not found for -lssl
- Support for "tall" screens HOT 1
- Update to newer MailCore version
- Problem in publishing a project based on remail
- App crash at sqlite3VdbeMemGrow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remail-iphone.