From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#30006: bzip2 does not provide libbz2.so Date: Fri, 23 Mar 2018 13:19:33 +0100 Message-ID: <718583be2617e43743e8ee40397bb0b4@tobias.gr> References: <87incft8tf.fsf@gnu.org> <877eq3knk0.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezLfy-0000yU-Cs for bug-guix@gnu.org; Fri, 23 Mar 2018 08:20:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezLfu-0006Fl-DM for bug-guix@gnu.org; Fri, 23 Mar 2018 08:20:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40875) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ezLfu-0006FQ-9a for bug-guix@gnu.org; Fri, 23 Mar 2018 08:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ezLft-0000Ar-W3 for bug-guix@gnu.org; Fri, 23 Mar 2018 08:20:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877eq3knk0.fsf@fastmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 30006@debbugs.gnu.org Marius, On 2018-03-23 13:02, Marius Bakke wrote: > diff --git a/gnu/packages/compression.scm > b/gnu/packages/compression.scm > index b158feac4..fd111e579 100644 > --- a/gnu/packages/compression.scm > +++ b/gnu/packages/compression.scm > @@ -272,6 +272,9 @@ file; as a result, it is often used in conjunction > with \"tar\", resulting in > (lambda* (#:key outputs #:allow-other-keys) > (let* ((out (assoc-ref outputs "out")) > (libdir (string-append out "/lib"))) > + ;; The Make target above does not create "libbz2.so", > only > + ;; the versioned libs, so we have to create it > ourselves. > + (symlink "libbz2.so.1.0" "libbz2.so") How about symlinking to (string-append ... version) directly? Seems more robust & worked fine when I tried it, I think.™ Kind regards, T G-R Sent from a Web browser. Excuse or enjoy my brevity.