Dear Justin,
I tried to compile lftp by
make CONFIGURE_ARGS+=--with-socks5 install
but it popped up a windows for choosing the configure arguments, and i
noticed there is no socks item in that list. when it ended installation.
lftp still cannot use socks5, and the result of "ldd
/usr/local/bin/lftp" seems there is not difference before i reinstall.
it seems there are no way to set socks5 supports in freebsd?
[~]$ldd /usr/local/bin/lftp
/usr/local/bin/lftp:
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x2813e000)by the w
libgnutls.so.26 => /usr/local/lib/libgnutls.so.26 (0x2815e000)
libz.so.4 => /lib/libz.so.4 (0x28205000)
libgcrypt.so.15 => /usr/local/lib/libgcrypt.so.15 (0x28217000)
libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0 (0x2827f000)
libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28283000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2828c000)
libreadline.so.7 => /lib/libreadline.so.7 (0x28381000)
libutil.so.7 => /lib/libutil.so.7 (0x283b3000)
libncurses.so.7 => /lib/libncurses.so.7 (0x283c1000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28400000)
libm.so.5 => /lib/libm.so.5 (0x284f5000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2850a000)
libc.so.7 => /lib/libc.so.7 (0x28515000)
it seems i cannot do it. thanks!
wenhuo hu
Post by Justin PiszczHello,
ldd /usr/bin/lftp
linux-gate.so.1 => (0xffffe000)
libgcc_s.so.1 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 (0x40034000)
libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x4003d000)
libreadline.so.4 => /lib/libreadline.so.4 (0x400f3000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40121000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40152000)
libsocks.so.0 => /usr/lib/libsocks.so.0 (0x4024d000) <- You need this.
libpam.so.0 => /lib/libpam.so.0 (0x40286000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4028e000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x402a3000)
libutil.so.1 => /lib/libutil.so.1 (0x402d1000)
libresolv.so.2 => /lib/libresolv.so.2 (0x402d4000)
libdl.so.2 => /lib/libdl.so.2 (0x402e6000)
libm.so.6 => /lib/libm.so.6 (0x402e9000)
libc.so.6 => /lib/libc.so.6 (0x4030b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Justin.
Post by huwenhuohi,
I installed lftp by packages. I am using freebsd 7.1-RELEASE. My
laptop cannot afford to compile programs from source code by ports.
So I do not know whether my lftp was compiled with socks suports.
[~]$ldd /usr/local/bin/lftp
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x2812c000)
libssl.so.5 => /usr/lib/libssl.so.5 (0x2814c000)
libcrypto.so.5 => /lib/libcrypto.so.5 (0x2818d000)
libintl.so.8 => /usr/local/lib/libintl.so.8 (0x282e6000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282ef000)
libreadline.so.7 => /lib/libreadline.so.7 (0x283e4000)
libutil.so.7 => /lib/libutil.so.7 (0x28416000)
libncurses.so.7 => /lib/libncurses.so.7 (0x28424000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28463000)
libm.so.5 => /lib/libm.so.5 (0x28558000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2856d000)
libc.so.7 => /lib/libc.so.7 (0x28578000)
wenhuo hu
Post by Justin PiszczDoes your lftp have socks support compiled in?
ldd /usr/bin/lftp
What does this show?
Justin.
Post by huwenhuoHi,
thanks Justin very much.
but it does not work.
any advice?
sincerely,
wenhuo hu
Post by Justin PiszczPost by huwenhuohi,
would anyone told me how to use socks5 proxy for lftp?
i am not sure this is the right mailing list to find things about
the usage of lftp. ^_^
thanks for any advice!
Hi,
1. You need SOCKS support compiled in.
2. Then you need to export the SOCKS5_PROXY or SOCKS_PROXY
environment
variables.
Then when you use lftp it will use the socks proxy you have defined.
Justin.