From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.user Subject: Re: 1.6.0 problems with libguilereadline-v-12 and fix Date: Thu, 19 Sep 2002 10:02:25 -0500 Sender: guile-user-admin@gnu.org Message-ID: <8765x2dnum.fsf@raven.i.defaultvalue.org> References: <20020918203311.3C5FA3F28@fnord.ir.bbn.com> <87k7ljgfvd.fsf@zagadka.ping.de> <87znuegbw8.fsf@raven.i.defaultvalue.org> <87sn06ek95.fsf@raven.i.defaultvalue.org> <20020919100333.GB7220@www> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032447845 26567 127.0.0.1 (19 Sep 2002 15:04:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2002 15:04:05 +0000 (UTC) Cc: Greg Troxel , guile-user@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17s2qZ-0006uC-00 for ; Thu, 19 Sep 2002 17:04:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17s2qu-0007YU-00; Thu, 19 Sep 2002 11:04:24 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17s2p4-0007HM-00 for guile-user@gnu.org; Thu, 19 Sep 2002 11:02:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17s2p1-0007Fd-00 for guile-user@gnu.org; Thu, 19 Sep 2002 11:02:29 -0400 Original-Received: from n66644228.ipcdsl.net ([66.64.4.228] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17s2p0-0007F1-00 for guile-user@gnu.org; Thu, 19 Sep 2002 11:02:26 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id D3CAD3D5C; Thu, 19 Sep 2002 10:02:25 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 9AFA55DD; Thu, 19 Sep 2002 10:02:25 -0500 (CDT) Original-To: rm@fabula.de In-Reply-To: <20020919100333.GB7220@www> (rm@fabula.de's message of "Thu, 19 Sep 2002 12:03:33 +0200") Original-Lines: 39 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1026 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1026 rm@fabula.de writes: > May i point at similar sugestions i posted a while ago ;-) Libltdl > does provide API calls to modify the search path at runtime. Why > don't we extend dynamic linking like this: That has the same fundamental problem as setting LD*_LIBRARY_PATH unless we only modify the value briefly, and *every* time we call lt_dlopen (still an interesting suggestion). The problem is that other libraries (or the app linking against libguile itself) may also put their directories in there, and if, for example, even one of them puts "/usr/local/lib" at the front after you've made your modifications, and if there's another "incorrect" version of some part of guile in /usr/local/lib, then you're likely to be in trouble the next time you call lt_dlopen. > - Putting things in a standard place, or, like Marius phrased it: > "The right thing is to configure your system so that the installed > libraries are visible to all programs, in the standard way." > I can't agree here -- those standard places are meant for libraries > that can and will be shared by many different applications. But libguilereadline is the *only* library for which this isn't the case. The rest are publically available and it apps are expected to link directly against them. > "what's the true nature of code linked dynamically > from guile - is it a normal shared library or is it rather a 'plug-in' > meant to extend an application?" As it stands now, the answer is "both". That's one of the main reasons this problem is hard. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user