gnu: dante: Disable preloading to make 'sockd' work.
author宋文武 <iyzsong@member.fsf.org>
Sat, 25 Aug 2018 08:34:43 +0000 (16:34 +0800)
committer宋文武 <iyzsong@member.fsf.org>
Sat, 25 Aug 2018 08:40:21 +0000 (16:40 +0800)
* gnu/packages/networking.scm (dante)[arguments]: Pass '--disable-preload'
to #:configure-flags.

gnu/packages/networking.scm

index 16da879..95cdd5c 100644 (file)
@@ -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