Andrew Benton wrote:
> On Tue, 06 Mar 2012 22:38:11 +0100
> Pierre Labastie <[email protected]> wrote:
>
>> Let me propose a patch; see attached
>
> How about a compromise. I could remove the --with-ssl=openssl and in
> the command explanations describe --without-ssl if you don't have
> openssl installed? I think --with-ssl=openssl is the default. I install
> wget --prefix=/usr --sysconfdir=/etc --localstatedir=/var and
> ldd /usr/bin/wget
> linux-vdso.so.1 (0x00007fff01ae0000)
> libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007fd80732a000)
> libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007fd806f78000)
> libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fd806d74000)
> librt.so.1 => /usr/lib/librt.so.1 (0x00007fd806b6c000)
> libc.so.6 => /usr/lib/libc.so.6 (0x00007fd8067c9000)
> /lib/ld-linux-x86-64.so.2 (0x00007fd807586000)
> libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fd8065ad000)
>
> So for me it picks up the openssl libs without being told to (gnutls is
> also installed when I install wget).
For me, using ./configure --prefix=/usr --sysconfdir=/etc
$ ldd ./wget
linux-vdso.so.1 => (0x00007ffff6576000)
libgnutls.so.28 => /usr/lib/libgnutls.so.28 (0x00007f6d691a7000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f6d68f97000)
libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f6d68d2b000)
librt.so.1 => /lib/librt.so.1 (0x00007f6d68b23000)
libz.so.1 => /lib/libz.so.1 (0x00007f6d6890b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f6d686ee000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x00007f6d68471000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0
(0x00007f6d6826e000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x00007f6d6803c000)
libc.so.6 => /lib/libc.so.6 (0x00007f6d67cb5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6d69493000)
So it picked up gnutls. If I rename the gnutls libraries to move them
out of the way, ./configure gives:
configure: error: --with-ssl was given, but GNUTLS is not available.
So --without-ssl would be needed building without openssl or gnutls. At
least for me.
BTW, what does --localstatedir=/var achieve?
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page