From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: libguilereadline load Date: Fri, 01 Feb 2013 18:30:31 +0100 Message-ID: <8738xgaqmg.fsf@gnu.org> References: <2748570.HcEtJvY3KZ@main> <87r4lc3m4w.fsf@gnu.org> <5077719.ZLBdhZmqem@main> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1359740949 4954 80.91.229.3 (1 Feb 2013 17:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2013 17:49:09 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Feb 01 18:49:29 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U1Kjw-0006G8-8A for guile-user@m.gmane.org; Fri, 01 Feb 2013 18:49:28 +0100 Original-Received: from localhost ([::1]:58083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1Kje-00033U-3e for guile-user@m.gmane.org; Fri, 01 Feb 2013 12:49:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1KRt-0004Au-4L for guile-user@gnu.org; Fri, 01 Feb 2013 12:30:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1KRl-0004pW-66 for guile-user@gnu.org; Fri, 01 Feb 2013 12:30:49 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:57396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1KRk-0004pS-Vn for guile-user@gnu.org; Fri, 01 Feb 2013 12:30:41 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U1KS1-00017a-Na for guile-user@gnu.org; Fri, 01 Feb 2013 18:30:57 +0100 Original-Received: from 109.129.221.253 ([109.129.221.253]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2013 18:30:57 +0100 Original-Received: from ludo by 109.129.221.253 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2013 18:30:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 109.129.221.253 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 =?utf-8?Q?Pluvi=C3=B4se?= an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:lJGzJl2z4yWcX16ZKhTvk/0SoKY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-Mailman-Approved-At: Fri, 01 Feb 2013 12:49:04 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9981 Archived-At: Dmitry Roshchin skribis: > On Tuesday 22 January 2013 23:09:51 Ludovic Courtès wrote: >> Hi, >> >> Dmitry Roshchin skribis: >> > Is it normal, that guile tries to load "libguilereadline-v-18.so" instead >> > of "libguilereadline-v-18.so.18"? Guile version - 2.0.7. >> >> You normally have both, as well as libguilereadline-v-18.la, no? >> >> Guile uses ltdl for dynamic loading (info "(libtool) Using libltdl"). >> The rule is to first search for .la files. The .la file tells ltdl that >> the real library is the .so.18 file, which ltdl then loads. >> >> When the .la file is missing, ltdl tries the .so file instead (not the >> .so.18 file). >> > > openSUSE packaging policy requires to remove .la files. And .so file is > contained in guile-devel package. So it doesn't work by default. I see. The problem is that Guile has no way of guessing the .18 extension (it’s a platform-specific extension computed by libtool.) Debian has a similar policy IIRC, but they ship the .so file as part of the ‘guile-2.0-libs’ package, perhaps as an exception: http://packages.debian.org/sid/hurd-i386/guile-2.0-libs/filelist Perhaps you could suggest that openSUSE do the same? Ludo’.