From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: GNU Guile 2.9.4 Released [beta] Date: Mon, 26 Aug 2019 15:12:47 -0400 Message-ID: <87sgpnoi45.fsf@netris.org> References: <87v9ulf121.fsf@pobox.com> <20190826171005.GG15218@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="179733"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: guile-devel@gnu.org To: Thomas Morley Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Aug 26 21:13:46 2019 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i2KR0-000kaM-8k for guile-devel@m.gmane.org; Mon, 26 Aug 2019 21:13:46 +0200 Original-Received: from localhost ([::1]:56738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2KQy-0005W3-JE for guile-devel@m.gmane.org; Mon, 26 Aug 2019 15:13:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37492) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2KQk-0005Vx-0K for guile-devel@gnu.org; Mon, 26 Aug 2019 15:13:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2KQi-0005c1-UK for guile-devel@gnu.org; Mon, 26 Aug 2019 15:13:29 -0400 Original-Received: from world.peace.net ([64.112.178.59]:52220) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i2KQi-0005ba-R9 for guile-devel@gnu.org; Mon, 26 Aug 2019 15:13:28 -0400 Original-Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i2KQg-0006jZ-7s; Mon, 26 Aug 2019 15:13:26 -0400 In-Reply-To: (Thomas Morley's message of "Mon, 26 Aug 2019 20:13:45 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.112.178.59 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:20047 Archived-At: Hi Thomas, Thomas Morley writes: > Am Mo., 26. Aug. 2019 um 19:10 Uhr schrieb : >> >> Perhaps you have to add /usr/local/lib to /etc/ld.so.conf (or some >> file below /etc/ld.so.conf.d) and run ldconfig. >> >> HTH >> -- tom=C3=A1s > > Hi tom=C3=A1s, > > thanks for your hints. > I've got it work by running nothing else than > sudo ldconfig > > But I wonder, shouldn't it work out of the box with 'sudo make install' ? Running 'ldconfig' is not always appropriate, and therefore the vast majority of programs do *not* run 'ldconfig' in "make install". Whether it is appropriate depends on several factors, including which OS and distro you're using, which prefix you're installing to, whether you're building a distro package that will actually be installed at a later time, and which of several available mechanisms you have chosen to use to allow programs to find their shared libraries. For example, it's *never* appropriate to run 'ldconfig' on NixOS or Guix systems, nor when building a Debian package or similar where the actual installation will happen later, nor when installing into a directory that's not listed in /etc/ld.so.conf (or /etc/ld.so.conf.d), nor when running "make install" as non-root. In theory we could try to make a guess, but there's no reliable way for the build system to know whether it is appropriate or not, and in practice it is usually done as a separate step in most modern systems. Regards, Mark