Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 2 Aug 2010 08:22:49 +0400
From: Solar Designer <>
Subject: Re: John the Ripper v1.7.6 with jumbo patches, issues compiling in Solaris  {john-user discussion}

On Fri, Jul 30, 2010 at 02:20:36PM -0400, Robert Harris wrote:
> bash-3.00$ ./john
> john: fatal: open failed: No such file or
> directory
> Killed
> bash-3.00# find / -name
> /usr/local/ssl/lib/
> /rob-dev/john-1.7.6-jumbo-6-MSCHAPv2-compile-old/run/

You may invoke "john" with:

LD_LIBRARY_PATH=/usr/local/ssl/lib ./john


export LD_LIBRARY_PATH=/usr/local/ssl/lib

Ideally, you'd have OpenSSL installed such that these tricks would not
be needed.

Alternatively, you may use static linking.  Try adding "-static" to
LDFLAGS.  You might also have to add "-L/usr/local/ssl/lib".  Or you may
choose to only link against OpenSSL statically, but against the rest of
the libraries dynamically.  To do it, replace "-lcrypto" with
"/usr/local/ssl/lib/libcrypto.a" (or the like).

The "link against OpenSSL statically" approach is more likely to be
suitable for a binary that you'd distribute for others to use.  You'll
also need to run "ldd john" to see if there are any other library paths
specific to your system (rather than to Solaris in general).  If so,
deal with those as well.



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.