Re: XCode 2.1 and building for 10.2.8
Re: XCode 2.1 and building for 10.2.8
- Subject: Re: XCode 2.1 and building for 10.2.8
- From: "Sean McBride" <email@hidden>
- Date: Fri, 26 Aug 2005 15:40:23 -0400
- Organization: Rogue Research
On 2005-08-26 15:24, Matt DeFoor said:
>I'm attempting to make a build for 10.2.8. The project links against
>libcrypto and libssl. I made it link against them by dragging the
>appropriate lib*.dylib symlinks from /usr/lib into my project. I set Mac
>OS X 10.2.8 as the Cross-Develop Target. I also changed the compiler to
>gcc3.3.
>
>However, during the linking phase, I see this:
>
>"-lcrypto.0.9.7" "-lssl.0.9.7"
>
>And I get this undefined symbol:
>
>_OpenSSL_add_all_algorithms
>
>Am I instructing XCode to link libcrypto and libssl incorrectly? If not,
>what else could be wrong?
I had a similar problem last week. Stop thinking like a Mac user, this
is Xcode. :) Instead of dragging them to the project, you must specify
in 'other linker flags' the following: "-lcrypto -lssl". That should do it.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden