Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 29 Apr 2006 01:54:18 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: Error while installing Jumbo Patch

On Fri, Apr 28, 2006 at 05:37:52PM -0400, Arvind Sood wrote:
> x86-mmx.o -o ../run/john -lcrypto -lssl
> /usr/bin/ld: cannot find -lcrypto

You need to move the -L... option from the CFLAGS to either the LDFLAGS
or the LIBS line - and you need to set it correctly for your system.
Most likely, -L/usr/local/ssl/lib will be correct for you.

Erik - the jumbo patch is wrong in its placing of the -L... into CFLAGS.
It should be in LDFLAGS or LIBS.  The reason this was not noticed before
is that most modern systems have OpenSSL libs in the default search paths.

-- 
Alexander Peslyak <solar at openwall.com>
GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598
http://www.openwall.com - bringing security into open computing environments

Was I helpful?  Please give your feedback here: http://rate.affero.net/solar

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ