[tpop3d-discuss] auth_passwd problems with 1.5.1
Chris Lightfoot
chris at ex-parrot.com
Wed, 20 Aug 2003 21:46:49 +0100
On Wed, Aug 20, 2003 at 03:43:54PM -0500, Travis Miller wrote:
> Chris, I think I figured it out.
>
> It is problem with the linking order of libcrypt. When I configure with:
>
> ./configure \
> --prefix=/usr \
> --sysconfdir=/etc \
> --localstatedir=/var \
> --disable-auth-pam \
> --enable-auth-passwd \
> --enable-shadow-passwords \
> --enable-mbox-bsd \
> --disable-dotfile-locking \
> --enable-tls \
> --with-openssl-root=/usr/local/openssl
>
> In the Makefile we get:
> LIBS = -lssl -lcrypto -lcrypt
>
> However if this is reordered to:
> LIBS = -lcrypt -lssl -lcrypto
>
> Everthing seems to work great.
cheers. Ugh. I guess all I can do here is reorder bits of
configure.in. Why the openssl people have to include their
own crypt(3) implementation I don't know....
--
``There's an old story about the person who wished his computer were as easy
to use as his telephone. That wish has come true, since I no longer know
how to use my telephone.'' (Bjarne Stroustroup)