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

Re: can't get ssl support compiled in



On Tue, Jun 20, 2006 at 10:21:03AM -0400, Kyle Wheeler wrote:
> On Tuesday, June 20 at 08:33 PM, quoth Henry Nelson:
> >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 

I should mention first that I am trying to build "mutt-1.5.11".  My
OS is "NetBSD 3.0.0_STABLE i386" and gcc version is "version 3.3.3".

The best I can tell is that the "ac_cv_lib_ssl_SSL_new" test is broken
since it only works with the shared libraries, not the static libraries.

The following configure/environmental variable (csh) combination _seems_ to
work, i.e., configure completed and I got a "working" (didn't crash) mutt:
% setenv LDFLAGS -static
% ./configure --prefix=/usr/local --with-slang=/usr/local
  --with-libiconv-prefix=/usr/local --without-wc-funcs
  --enable-pop --enable-imap --with-openssl=/usr/local/ssl
                                    ^^^^
Is that "openssl" documented somewhere?  It's in the configure script,
but afaict it doesn't have anything to do with OpenSSL.

What worries me, though, is that the executable I have is most likely not
ssl enabled.  How would I test that?  Mutt -v says "+USE_POP  +USE_IMAP"
as expected, but it also says "-USE_SSL".

-- 
henry nelson
  WWW_HOME=http://yuba.ne.jp/~home/