Re: EVP_Digest Example Compile Errors

2012-07-06 Thread Thomas Davie
You forgot to specify -L/opt/local/lib, so while it's reading the 1.0.1c headers, it's finding lion's built in 0.9.8 library. Bob On 4 Jul 2012, at 18:29, mmdon...@aol.com wrote: > MacBook 2,1 Mac OS X 10.7.4 Xcode 4.3.3 > > MacPortsopenssl @1.0.1c_0 (active) > > > When I attempt to comp

EVP_Digest Example Compile Errors

2012-07-06 Thread mmdonley
MacBook 2,1 Mac OS X 10.7.4 Xcode 4.3.3 MacPortsopenssl @1.0.1c_0 (active) When I attempt to compile the example at http://www.openssl.org/docs/crypto/EVP_DigestInit.html using gcc -Wall -I /opt/local/include -o mdtest mdtest.c I get the following errors from gcc: Undefined symbols for