Re: openssl bug
Christian Grothoff <[email protected]> Mon, 6 Dec 2004 10:08:08 -0500
| Newsgroups | gmane.network.gnunet.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Saturday 04 December 2004 12:42, Octávio Filipe Gonçalves wrote: > Hi, > > while try to do ./configure for the latest version of GnuNet i found the > following error: > > checking for build target... > checking for libgcrypt... checking for libgcrypt-config... no > checking for LIBGCRYPT - version >= 1.2.0... no > checking for RSA_generate_key in -lcrypto... no > configure: error: GNUnet needs libgcrypt or OpenSSL > [gnunet@magicbrain GNUnet]$ > > but... > > [root@magicbrain gnunet]# openssl version > OpenSSL 0.9.7c 30 Sep 2003 > [root@magicbrain gnunet]# > > maybe there is some problems with configure? Maybe, maybe not. We don't need the openssl binary (which you clearly have), but the openssl library (which you likely have) including headers (which you may not have) and in a location where we look for it (which you definitively do not have). Try "which openssl". If that gives you say /usr/local/bin/openssl, add "--with-crypto=/usr/local" to the configure line. Only if you have libcrypto and the SSL-headers in /usr (without local) configure should auto-detect it. HTH Christian