Re: ssl.h linking error
Re: ssl.h linking error
- Subject: Re: ssl.h linking error
- From: Sherm Pendley <email@hidden>
- Date: Thu, 25 May 2006 20:36:14 -0400
On May 25, 2006, at 7:35 PM, dancedrummer wrote:
I'm a bit of a lightweight. I'm trying to generate an sha-1 hash,
works fine when I compile with the Debug build style but I get the
following error when I compile with the Release build style.
Undefined symbols:
_SHA1
collect2: ld returned 1 exit status
I'm pretty sure it's a linking error as I can get it to compile
properly by simply turning on ZeroLink in the Release build style
settings but of course that is no good for an actual release.
In my opinion, it's not much good for development either. As you've
seen, it hides linker errors; the result can often be that you spend
more time debugging obscure errors than ZeroLink saves.
I am including
#include <openssl/sha.h>
That's the first half of the puzzle... The second half is linking
against the OpenSSL framework. Did you do that?
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden