summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2018-08-25 16:34:43 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-08-25 16:40:21 +0800
commit7789bf953133e7537947989c0ad541ffc3fb7c03 (patch)
tree9fc277c22b7f6269bdf1b491ee3aa02da1eeddde
parent36a8d5cdf40c3a760615eddc7f0d44c91369eb68 (diff)
downloadguix-7789bf953133e7537947989c0ad541ffc3fb7c03.tar.gz
gnu: dante: Disable preloading to make 'sockd' work.
* gnu/packages/networking.scm (dante)[arguments]: Pass '--disable-preload'
to #:configure-flags.
-rw-r--r--gnu/packages/networking.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 16da879c3f..95cdd5c513 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2191,6 +2191,11 @@ and check if the WLAN key or the master key was transmitted unencrypted.")
         (base32
          "19rqzj167q73ag20zxpvswhkk0bj56r5maf83v5016sw7vrcz5sc"))))
     (build-system gnu-build-system)
+    (arguments
+     ;; XXX: The dynamic socks library doesn't work with 'libc.so' (GNU ld
+     ;; script).  When preloading is enabled, 'sockd' failed with:
+     ;;    … Failed to open library "libc.so": …: invalid ELF header
+     '(#:configure-flags '("--disable-preload")))
     (home-page "https://www.inet.no/dante/")
     (synopsis "SOCKS server and client")
     (description "Dante is a SOCKS client and server implementation.  It can