From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 59CB81F5AE for ; Fri, 24 Jul 2020 00:00:39 +0000 (UTC) Received: from localhost ([::1]:37152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyl8g-0002J4-55 for normalperson@yhbt.net; Thu, 23 Jul 2020 20:00:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyl8c-0002I7-Fl for bug-gnulib@gnu.org; Thu, 23 Jul 2020 20:00:34 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.217]:17721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyl8Z-0004vl-Up; Thu, 23 Jul 2020 20:00:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1595548825; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=c1vMuxUtxeTpu1cUYCrEth/t8ozxl9/dK05aAKEANzo=; b=Ym/hkWNJ/1LE3TyxWqy+Nihpt9yGqo3q3Zt9A4bCZKA8q589KCAXyQBaS5wX1qniit 5zZwGQWSoKB/LOcbxwzBx7HhXTqAWdUbDCQGts8VO3CTZvZvqIJcvSQWLvK22cOxQnCM eWAzsCjMdV8/DitRUAsqBIhI/uQPcA/5HMLLe+6DU7yCUcf8ySgVehyYP7cGwhkoOrNR yGvd06A/sItCftTKTNUQLEeBwJxITYOxf7UlG76IYi9Wp4y+fT+IMqliXyi1kNnQiOH+ j5fVteeXU0Eff0Ix02p+MhY4Yc/Jdw+7+31oGIn8wM/HHFvnQwJMENEgMuC59dgEpHUU a8mw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.10.5 DYNA|AUTH) with ESMTPSA id R03d1aw6O00OWka (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 24 Jul 2020 02:00:24 +0200 (CEST) From: Bruno Haible To: Paul Eggert Subject: Re: libgmp: link to the correct shared library Date: Fri, 24 Jul 2020 02:00:24 +0200 Message-ID: <8009390.Ai7DkcWk9P@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-179-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <18e0dcb5-556d-9601-ff4f-d3e610234b99@cs.ucla.edu> References: <20200707020333.1533949-1-eggert@cs.ucla.edu> <4427082.fqETCk46lG@omega> <18e0dcb5-556d-9601-ff4f-d3e610234b99@cs.ucla.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=81.169.146.217; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/23 20:00:25 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib@gnu.org, jemarch@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Hi Paul, > > Also, adding -Wl,-rpath=/PREFIX64/lib to LDFLAGS will have ill consequences > > when the package contains shared libraries and uses libtool to create them. See > > . > > That's OK too, since Emacs and coreutils don't use libtool to create packages. GNU poke is likely to use GMP soon. When it does that, it will of course use the module 'libgmp'. And this package happens to use libtool. > Coreutils 'expr' already links to GMP anyway. :-) :-) > > Do you think there is something to add to the documentation > > https://www.gnu.org/software/gnulib/manual/html_node/Searching-for-Libraries.html ? > > I am hoping that I do not have to read that documentation; I just want to keep > building Coreutils the way it's been built for quite some time. ... I merely > want to be able to use GMP without worrying about libtool. You can. For uses of system-wide installed GMP, nothing changes. For users who built GMP on their own, there is the configure option --with-libgmp-prefix. If there is a problem with it, you can redirect the reports to bug-gnulib or me. You probably don't want to deal with libtool because of its deep platform dependencies? 'havelib' also has some platform dependencies, but - much less of them, - they are contained in a single file, 'build-aux/config.rpath', - this file does not need updates more frequently than once in 5 years. Bruno