On Sat July 16 2011, brandon...@aol.com wrote:
> I am already linking in -lldap.  Will -lopenldap work better?
>

It is hard to say without seeing your full command input and
the output of where the linker is looking for libraries and
in what order.

__order matters__
 
> > link to OpenSSL first, and then OpenLdap (order matters):
> > gcc ... -lcrypto -lopenldap

If doing the linking with the compiler driver, add:
-Wl,-t
to the command options so the linker will output each library
as it searches for symbols.

If calling the linker directly, just add:
-t
to the link command options

The "-t" option is the "trace" option to the linker.

Mike
> > Jeff
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to