Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120626134803.GA13297@openwall.com>
Date: Tue, 26 Jun 2012 17:48:03 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: build error for linux-x86-native (c3:fmt.c): undefined reference to `crypt'

On Tue, Jun 26, 2012 at 03:42:40PM +0200, Frank Dittrich wrote:
...
> md5-mmx.o sse-intrinsics.o -s -L/usr/local/lib -L/usr/local/ssl/lib
> -lssl -lcrypto -lm -lz    -o ../run/john
> /usr/bin/ld: plugin.o: undefined reference to symbol 'dlopen@@GLIBC_2.1'
> /usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2
> so try adding it to the linker command line
> /lib/libdl.so.2: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[1]: *** [../run/john] Error 1
> make[1]: Leaving directory `/home/fd/git/magnum-jumbo/src'
> make: *** [linux-x86-native] Error 2
> 
> 
> So, there is just -lcrypto, but -lcrypt somehow got lost.

Yes, and ditto for -ldl (yet the linker is being smart and tries to link
against it anyway? but then encounters some error?)

My guess is that your system is somehow broken.  But I could be wrong.

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.