Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2009 17:55:16 -0600 (CST)
From:      Scott Bennett <>
Subject:   Re:  Mutt and openssl from port
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
     On Sat, 12 Dec 2009 21:46:27 +0200 wrote:
>7.1-PRERELEASE. I'd like Mutt to use zlib compression when connecting to pop3s.
>openssl in base doesn't support zlib. I installed openssl port from package
>(in the port zlib in on by default), wrote in make.conf:
>and `portupgrade -f mutt`. However, Mutt still uses openssl from base:
>~ $ ldd /usr/local/bin/mutt
> => /lib/ (0x28103000)
> => /usr/lib/ (0x2814f000)
> => /lib/ (0x28190000)
> => /usr/local/lib/ (0x282ea000)
> => /usr/local/lib/ (0x282f3000)
> => /lib/ (0x283ea000)
     Right.  We tor users just went through that, too.  The problem is that
what WITH_OPENSSL_PORT=YES does is to add -L/usr/local/lib to the cc or gcc
command that does the link edit step.  However, that adds the desired
directory to the *end* of the list of directories to be searched, when what
you want is to put it at the beginning of the list.  What I ended up doing
was to add LDFLAGS="-rpath=/usr/local/lib" to the ./configure step for tor,
so you may want to take a look at the "make config" target to see how best
to do that for mutt.  Be careful that the use of -rpath won't cause it to
include libraries from /usr/local/lib instead of from the base system for
other stuff where you might not want that to happen.

>Then I patched /usr/ports/mail/mutt/Makefile :
> CONFIGURE_ARGS=        --enable-pop --enable-imap --disable-fcntl \
>-               --with-ssl=${OPENSSLBASE} --sysconfdir=${PREFIX}/etc \
>+               --with-ssl=/usr/local --sysconfdir=${PREFIX}/etc \
>but got the same. I suppose that OPENSSL_OVERWRITE_BASE doesn't work:
>What can I do?
     See explanation above.

                                  Scott Bennett, Comm. ASMELG, CFIAG
* Internet:       bennett at                              *
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *

Want to link to this message? Use this URL: <>