From 9805ad6f87612b5c305c099c38684607cecfb328 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 6 Feb 2018 14:21:12 +0100 Subject: gnu: julia: Don't invoke /sbin/ldconfig. Reported by Marco van Hulten in . * gnu/packages/julia.scm (julia)[arguments] <'hardcode-soname-map>: Patch out 'ldconfig' invocations. --- gnu/packages/julia.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index d958995288..41bbc66dd2 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -146,6 +146,12 @@ (lambda* (#:key inputs #:allow-other-keys) (use-modules (ice-9 match)) (substitute* "src/runtime_ccall.cpp" + ;; Patch out invocations of '/sbin/ldconfig' to avoid getting + ;; error messages about missing '/sbin/ldconfig' on GuixSD. + (("popen\\(.*ldconfig.*\\);") + "NULL;\n") + + ;; Populate 'sonameMap'. (("jl_read_sonames.*;") (string-join (map (match-lambda -- cgit 1.4.1