[CentOS] compiling with lsocks support on centos 6?

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


Am 10.06.2016 um 21:22 schrieb Alexander Dalloz:
> 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

Sorry, did overlook that you are on CentOS 6 while the ghettoforge plus 
repo only provides dante packages for CentO 7. So you would have to get 
the source rpm

http://mirror.symnds.com/distributions/gf/el/7/plus/SRPMS/dante-1.4.1-176.9.src.rpm

and compile a fitting dante-devel package yourself.

>> Jason
>
> regards
>
> Alexander





More information about the CentOS mailing list