Date: Sat, 18 Jun 2011 01:22:01 +0400 From: Solar Designer <solar@...nwall.com> To: john-dev@...ts.openwall.com Subject: Re: Error with static linking in jumbo 6 Robert, On Fri, Jun 17, 2011 at 11:36:25AM -0400, Robert B. Harris wrote: > /usr/lib/libssl.a(ssl_err2.o): In function `SSL_load_error_strings': > (.text+0xd): undefined reference to `ERR_load_crypto_strings' Here's the working combination for static linking with OpenSSL: -static -lssl -lcrypto -lz -ldl -lm Notice that I placed -lssl before -lcrypto. The resulting "john" binary is 2 MB large... Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.