[CentOS] compiling with lsocks support on centos 6?

Alexander Dalloz ad+lists at uni-x.org
Fri Jun 10 19:22:43 UTC 2016


Am 10.06.2016 um 19:46 schrieb Jason Welsh:
> im trying to compile lftp with socks support and im getting the following..
>
> ...
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for CFPreferencesCopyAppValue... no
> checking for CFLocaleCopyCurrent... no
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> checking for main in -lsocks5... no
> configure: error: cannot find -lsocks5 library
> [jason at nibbler lftp-4.7.2]$
>
> ive looked and cant seem to figure out where to download the libsocks
> stuff? I found 1 post on the innernets that said that its integrated in
> the kernel?
> How can I get this compiled with socks(5) support?

You may want to get the dante-devel rpm from the ghettoforge plus repo:

]# rpm2cpio dante-devel-1.4.1-176.9.x86_64.rpm | cpio -t
./usr/include/socks.h
./usr/lib64/libsocks.so
10 blocks

> Jason

regards

Alexander




More information about the CentOS mailing list