compiling error - cannot find -lssl

Mike O'Rourke mike.orourke at op.org
Tue Feb 18 17:39:15 EST 2003


Hi Mark,

Sorry to be jumping in so late, but I have been busy with LDAP, et.al.

Did you compile SASL2 on your machine? If not, did you install it from the 
RPM's? RedHat (even as late as 8.0) only installs SASLv1 by default. You 
are trying to use SASLv1 to compile Cyrus-IMAPd 2.1.11! Try installing 
SASLv2 from the RPM's, if you do not care to download and compile it as well.

As to your original problem, again you need to tip your hat to the kind 
folks at RedHat. The default install does not install the static libraries 
for OpenSSL. So, unless you have explicitely installed the static libraries 
(I am not even sure they are available on the disks), if you look in 
/usr/lib, you will find only libssl.so, libssl.so.0.9.6b and the 
libcrypto.so.0.9.6b files. Hence, -lssl finds no static libraries to link 
to, and chokes.

Mike.


>Tried autoconf 2.13... same config error.
>
>
>From: Rob Siemborski <rjs3 at andrew.cmu.edu>
>To: Mark Wessel <mark_wessel at hotmail.com>
>CC: simon.brady at otago.ac.nz, info-cyrus at lists.andrew.cmu.edu
>Subject: Re: compiling error - cannot find -lssl
>Date: Tue, 18 Feb 2003 13:31:19 -0500 (EST)
>
>Don't use autoconf 2.53, use autoconf 2.13.
>
>Note, I'm not sure this will solve your problem, but it works for me with
>2.13
>
>-Rob
>
>On Tue, 18 Feb 2003, Mark Wessel wrote:
>
>  > ok, I've updated to autoconf-2.53-8, and have the latest configure.in
>file
>  > (1.232.4.38). Now there seems to be an issue with SASL, I think...
>  >
>  > After running:
>  >
>  > ./configure --with-auth=unix --with-sasl=/usr/lib/sasl
>  > --with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include
>  >
>  > I get receive this error:
>  >
>  > ./configure: line 10055: syntax error near unexpected token '2,1,7'
>  > ./configure: line 10055: 'CMU_SASL2_REQUIRE_VER(2,1,7)'
>  >
>  > Does 'configure.in' have a problem, or is it just me?
>  >





More information about the Info-cyrus mailing list