On Aug 20, 2012, at 10:33 AM, Jeremy Hughes <[email protected]> wrote:

>> -lssl refers to /usr/lib/libssl.dylib. /usr/bin/openssl is an executable
>> file, not a library.
> 
> OK - thanks for that.
> 
> In that case the other libraries that are referred to in the error message 
> are presumably
> 
> /usr/lib/libcrypto.dylib
> /usr/lib/libldap.dylib
> /usr/lib/libz.dylib

<PLUG>If you're building 7.27, then unless your application depends on an 
OpenSSL-specific feature, you are welcome to try out the native SSL option by 
configuring libcurl --with-darwinssl.</PLUG>

> Are you using a different set of configure options?


No. Are you installing libssh2 after building it? If not, then you'll probably 
need to adjust the header & library search paths in your CFLAGS and LDFLAGS 
environmental variables. You may also need to adjust LD_LIBRARY_PATH as someone 
else suggested; the man page to dlopen() suggests that the variable works on OS 
X as well as on GNU/Linux.

Nick Zitzmann
<http://www.chronosnet.com/>


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to