Hi, Sigmund.

On Fri, 28 Feb 2003, Sigmund Gudvangen wrote:
>On Thu, 27 Feb 2003, Andreas Aardal Hanssen wrote:
>So I tried to install from sources, in order to have a look at the output from 
>"configure". And it turns out that "./configure --prefix=/opt/bincimap 
>--sysconfdir=/etc/opt/bincimap" returns with the following error:
>checking for BF_set_key in -lcrypto... no
>The crypto library is required

Okay - so there's a prerequisite missing in the RPM file. The dynamic 
package requires the openssl library, or specifically -lssl and -lcrypto.

>I presume that the crypty library it doesn't find is openssl? I have
>installed openssl (from sources) in "/usr/local/openssl":
>total 24
>drwxr-sr-x    6 root     root         4096 Feb 24 20:27 .
>drwxr-sr-x   15 root     root         4096 Feb 17 00:39 ..
>drwxr-sr-x    2 root     root         4096 Feb 16 23:53 bin
>drwxr-sr-x    3 root     root         4096 Feb 16 23:53 include
>drwxr-sr-x    2 root     root         4096 Feb 16 23:53 lib
>drwxr-sr-x    7 root     root         4096 Feb 25 18:33 ssl
>Perhaps I need to tell "configure" where it is?

Before running configure, make sure that /usr/local/openssl/lib is 
included in your library path, and /usr/local/openssl/include is included 
in your include path.

Typically, in bash:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/openssl/lib
export INCLUDE_PATH=$INCLUDE_PATH:/usr/local/openssl/lib
./configure

Or - the quick solution is to use the static RPM.

Hope this helps,

Andy :-)

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | Nil desperandum

Reply via email to