Re: compiling with lsocks support on centos 6?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux