Purple Nugs
2013-11-07 19:49:02 UTC
I am unable to compile lftp using openssl under debian Wheezy. I have
tried all three using lftp-4.4.10
./configure --with-openssl=/usr
./configure --with-openssl=/usr/lib
./configure --with-openssl=/usr/lib/openssl
When I make the source and do ldd i see libssl and libcrypto in the list:
linux-vdso.so.1 => (0x00007fffc51fe000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1a35814000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1a355fd000)
libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
(0x00007f1a3539d000)
libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(0x00007f1a34fb9000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1a34db1000)
libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6
(0x00007f1a34b69000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f1a34966000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f1a3473d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1a34538000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1a34322000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1a33f98000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1a35a47000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f1a33d7b000)
However, when I do ./lftp --version I don't see OpenSSL
Libraries used: Readline 6.2, Expat 2.1.0, zlib 1.2.7
And when I connect to the ftp using the above strange version i see:
**** SSL_connect: error:00000000:lib(0):func(0):reason(0)
On my other box ( running slackware 14.0 ) lftp (version 4.3.8) compiled
just fine with openssl showing ./lftp --version of:
Libraries used: Readline 5.2, Expat 2.0.1, OpenSSL 1.0.1e 11 Feb 2013
Is there a trick to install lftp using OpenSSL under Debian Wheezy can not
figure it out since GnuTLS is not going to work for the ftp I need to
connect to.
tried all three using lftp-4.4.10
./configure --with-openssl=/usr
./configure --with-openssl=/usr/lib
./configure --with-openssl=/usr/lib/openssl
When I make the source and do ldd i see libssl and libcrypto in the list:
linux-vdso.so.1 => (0x00007fffc51fe000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1a35814000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1a355fd000)
libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
(0x00007f1a3539d000)
libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(0x00007f1a34fb9000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1a34db1000)
libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6
(0x00007f1a34b69000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f1a34966000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f1a3473d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1a34538000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1a34322000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1a33f98000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1a35a47000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f1a33d7b000)
However, when I do ./lftp --version I don't see OpenSSL
Libraries used: Readline 6.2, Expat 2.1.0, zlib 1.2.7
And when I connect to the ftp using the above strange version i see:
**** SSL_connect: error:00000000:lib(0):func(0):reason(0)
On my other box ( running slackware 14.0 ) lftp (version 4.3.8) compiled
just fine with openssl showing ./lftp --version of:
Libraries used: Readline 5.2, Expat 2.0.1, OpenSSL 1.0.1e 11 Feb 2013
Is there a trick to install lftp using OpenSSL under Debian Wheezy can not
figure it out since GnuTLS is not going to work for the ftp I need to
connect to.