Skip to contentSkip to conversation

proxychains-ng: needs dynamic library support

PATCH New Axel Lin 2 participants 3 messages Oct 5, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/2 proxychains-ng: needs dynamic library support

Fix below build error if BR2_PREFER_STATIC_LIB is set:

src/libproxychains.c:34:19: fatal error: dlfcn.h: No such file or directory compilation terminated.
make[1]: *** [src/libproxychains.o] Error 1

In additional, the README file also mentions that this program works only on dynamically linked programs.

---
 package/proxychains-ng/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/proxychains-ng/Config.in +3 -2
index 99e49bd..97eaa0c 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_PROXYCHAINS_NG
 	bool "proxychains-ng"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  Force any tcp connections to flow through a proxy (or proxy chain)
 
 	  https://github.com/rofl0r/proxychains
 
-comment "proxychains-ng needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "proxychains-ng needs a toolchain with thread and dynamic library support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 2/2 proxychains-ng: bump to version 4.6

---
 package/proxychains-ng/proxychains-ng.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/proxychains-ng/proxychains-ng.mk +1 -1
index cc3e357..7c2ffbf 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PROXYCHAINS_NG_VERSION = 4.4
+PROXYCHAINS_NG_VERSION = 4.6
 PROXYCHAINS_NG_SOURCE = proxychains-$(PROXYCHAINS_NG_VERSION).tar.bz2
 PROXYCHAINS_NG_SITE = http://downloads.sourceforge.net/project/proxychains-ng
 
Signature · 1 line
1.8.1.2
#2 lore raw

PATCH 1/2 proxychains-ng: needs dynamic library support

In reply to Axel Lin
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Axel" == Axel Lin <[email protected]> writes:

Axel> Fix below build error if BR2_PREFER_STATIC_LIB is set:

Axel> src/libproxychains.c:34:19: fatal error: dlfcn.h: No such file or directory Axel> compilation terminated.
Axel> make[1]: *** [src/libproxychains.o] Error 1

Axel> In additional, the README file also mentions that this program Axel> works only on dynamically linked programs.

Committed both, thanks.

Signature · 1 line
Bye, Peter Korsgaard