Hi.

I am writing some C++ on Linux with g++. When I try to link statically to 
libcrypto, by using the libcrypto.a library, it complains that RSA_generate_key 
and DH_generate_parameters are undefined references. Actually, I believe it 
said that openldap.so was complaining that they were undefined, so I guess 
libcrypto.a is calling openldap. 

I am already including "-lssl" in my list of libraries. If this had worked, I 
would have next tried to link in libssl statically.

Any idea what library I can link in to define the above two references?

Thanks in advance.
 
Brandon

Reply via email to