From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: libguilereadline load Date: Sat, 02 Feb 2013 03:26:14 +0800 Organization: HFG Message-ID: <1359746774.3021.49.camel@Renee-desktop.suse> References: <2748570.HcEtJvY3KZ@main> <87r4lc3m4w.fsf@gnu.org> <5077719.ZLBdhZmqem@main> <8738xgaqmg.fsf@gnu.org> 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 1359747131 583 80.91.229.3 (1 Feb 2013 19:32:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2013 19:32:11 +0000 (UTC) Cc: guile-user@gnu.org To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Feb 01 20:32:31 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 1U1MLd-0003nC-Sl for guile-user@m.gmane.org; Fri, 01 Feb 2013 20:32:30 +0100 Original-Received: from localhost ([::1]:44306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1MLL-00041W-M6 for guile-user@m.gmane.org; Fri, 01 Feb 2013 14:32:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1MKE-0003vY-Lm for guile-user@gnu.org; Fri, 01 Feb 2013 14:32:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1MGl-0004MK-Pp for guile-user@gnu.org; Fri, 01 Feb 2013 14:31:02 -0500 Original-Received: from mail-pb0-f52.google.com ([209.85.160.52]:52450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1MFh-00044N-0H; Fri, 01 Feb 2013 14:26:21 -0500 Original-Received: by mail-pb0-f52.google.com with SMTP id mc8so1520428pbc.11 for ; Fri, 01 Feb 2013 11:26:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:subject:from:to:cc:date:in-reply-to :references:organization:content-type:x-mailer:mime-version :content-transfer-encoding; bh=1QZuthJ3krmHaDERc+NbdxJb6NoxihTJPGNpBBoSA9k=; b=vXbHWkrcBbL/vEJXcas5WyBSAuuz7ODXDXubmNvlYaOe/jQGSikdoYFP1eKH5xPdJu ZVw69VthVVLi8YRcSB17iNLk9eSw6hDdTegdY/MpEyKiqMMYPJ9elBHNm5DTlYVS4Zjf z8RoZw/+xViU5s6kuKFjO6iN5WVbwO5CGpkP7viKD36iXSw9jXbdg/W91na9GE3cR+PW xwm6kU9powwoeb54G6fdd2wcGIyUZ4vVPKTXfvXZjazU/3+9d+3ZdaJBd7P9Uf/Hbq2Z cB+f4u1YGuETFUcLWxsuPGC9dhRNEXgHA0TCyN7En4vWl6ESylIK+SU00BtA5iBTnmVT iIbA== X-Received: by 10.69.16.100 with SMTP id fv4mr35136781pbd.135.1359746780158; Fri, 01 Feb 2013 11:26:20 -0800 (PST) Original-Received: from [10.100.36.109] (li335-136.members.linode.com. [96.126.102.136]) by mx.google.com with ESMTPS id t7sm6442326pax.17.2013.02.01.11.26.16 (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 01 Feb 2013 11:26:18 -0800 (PST) In-Reply-To: <8738xgaqmg.fsf@gnu.org> X-Mailer: Evolution 3.4.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.52 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:9982 Archived-At: On Fri, 2013-02-01 at 18:30 +0100, Ludovic Courtès wrote: > 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 > hmm...almost all 'shared lib packaging policy' needs *-dev package contains the *.so link to a related versioned library. It's not so easy to persuade them to make an exception if we don't have a solid reason. Can you tell me how to do a special detect for loading .18? If the suggestion failed, at least we have a platform specific patch to fix that. > Perhaps you could suggest that openSUSE do the same? > > Ludo’. > >