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

Re: [Mutt] #2303: problem with "ac_cv_lib_ssl_SSL_new" test



#2303: problem with "ac_cv_lib_ssl_SSL_new" test

Changes (by brendan):

  * component:  mutt => build
  * milestone:  => 1.6

Old description:

> {{{
> If the shared ssl libraries are installed, the configure script
> completes and the build is successful.  However, if only the static
> libraries
> are installed (the default for OpenSSL), the configure script fails with:
>         checking for X509_new in -lcrypto... yes
>         checking for SSL_new in -lssl... no
>         configure: error: Unable to find SSL library
>
> It's strange that the -lcrypto test works while the -lssl test fails
> since
> they are both from the exact same intallation of OpenSSL 0.9.8b.  If the
> "else" clause at lines 12580-12583 of the configure script is simply
> replaced with one line "ac_cv_lib_ssl_SSL_new=yes" the configure script
> seems to finish successfully, so perhaps the problem is only the test?
> >How-To-Repeat:
> run ./configure with --with-ssl=/usr/local/ssl with only the
> static libraries installed (default for OpenSSL 0.9.8b.  (There is no
> problem if shared libraries are installed.)
> >Fix:
> Unknown
> }}}

New description:

 {{{
 If the shared ssl libraries are installed, the configure script
 completes and the build is successful.  However, if only the static
 libraries
 are installed (the default for OpenSSL), the configure script fails with:
         checking for X509_new in -lcrypto... yes
         checking for SSL_new in -lssl... no
         configure: error: Unable to find SSL library

 It's strange that the -lcrypto test works while the -lssl test fails since
 they are both from the exact same intallation of OpenSSL 0.9.8b.  If the
 "else" clause at lines 12580-12583 of the configure script is simply
 replaced with one line "ac_cv_lib_ssl_SSL_new=yes" the configure script
 seems to finish successfully, so perhaps the problem is only the test?
 >How-To-Repeat:
 run ./configure with --with-ssl=/usr/local/ssl with only the
 static libraries installed (default for OpenSSL 0.9.8b.  (There is no
 problem if shared libraries are installed.)
 >Fix:
 Unknown
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2303#comment:6>