<<< Date Index >>>     <<< Thread Index >>>

Re: can't get ssl support compiled in



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, June 20 at 08:33 PM, quoth Henry Nelson:
>I've been trying for days now to get ssl support compiled into mutt.
>(--with-ssl=/usr/local/ssl --enable-pop --enable-imap) The latest OpenSSL
>is installed in the default location.
>
>With only the static libraries, the configure script dies with:
>       checking for X509_new in -lcrypto... yes
>       checking for SSL_new in -lssl... no
>       configure: error: Unable to find SSL library
>If I try to help the configure script by setting the LIBS environment
>variable ("-L/usr/local/ssl/lib -lssl"), it still can't find it.

Look in the config.log file that gets created. Start at the bottom and 
go up (much of the bottom is a bunch of output (gobbledygook) of what 
was discovered) until you find exactly what command configure tried to 
run and failed. That should give you some idea of how it's getting 
confused (post it to the list for help).

>With the shared libraries installed, configure completes, but then
>the executable can't find the libraries:
>       Shared object "libssl.so.0.9.8" not found

That sounds like an LD_LIBRARY_PATH issue (i.e. LD_LIBRARY_PATH should 
contain the directory that contains those ssl libraries). You can also 
try adding the correct directory (/usr/local/ssl/lib ?) to your 
/etc/ld.so.conf file (when you do, run `ldconfig` as root to rebuild 
the necessary cache files).

~Kyle
- -- 
One of the penalties for refusing to participate in politics is that 
you end up being governed by your inferiors.
                                                              -- Plato
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFEmARPBkIOoMqOI14RAk7mAJ9ncRg9aoaIeUoZ+aaOoA+erWv2AwCffQQl
AqqE7vUQCf8Bs24NpEaCIRg=
=gE9y
-----END PGP SIGNATURE-----