From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user Subject: Re: dynamic linking problems when using --prefix, perhaps solved Date: 24 Apr 2002 22:48:27 +0200 Sender: guile-user-admin@gnu.org Message-ID: <87u1q0n7qc.fsf@zagadka.ping.de> References: <20020313142548.357963C24@fnord.ir.bbn.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1019681186 6315 127.0.0.1 (24 Apr 2002 20:46:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2002 20:46:26 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 170Tej-0001dk-00 for ; Wed, 24 Apr 2002 22:46:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 170TdY-0007FT-00; Wed, 24 Apr 2002 16:45:12 -0400 Original-Received: from dialin.speedway42.dip97.dokom.de ([195.138.42.97] helo=zagadka.ping.de) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 170TdD-0007CU-00 for ; Wed, 24 Apr 2002 16:44:52 -0400 Original-Received: (qmail 26240 invoked by uid 1000); 24 Apr 2002 20:48:27 -0000 Original-To: Greg Troxel In-Reply-To: <20020313142548.357963C24@fnord.ir.bbn.com> Original-Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.9 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:296 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:296 Greg Troxel writes: > I am having the same dynamic linking problems as others: > > lab gdt 157 ~/QUIST-current/guile > /usr/quist/bin/guile > ERROR: In procedure dynamic-link: > ERROR: file: "libguilereadline", message: "file not found" > lab gdt 158 ~/QUIST-current/guile > sudo ldconfig -m /usr/quist/lib > lab gdt 159 ~/QUIST-current/guile > /usr/quist/bin/guile > ERROR: In procedure dynamic-link: > ERROR: file: "libguilereadline", message: "file not found" > > IMHO there should be some way to pass @libdir@ to libtool's dlopen, so > that guile can search in its installed directory first. > > The following worked, but it is kludgy: > > LTDL_LIBRARY_PATH=/usr/quist/lib /usr/quist/bin/guile I think this is exactly right. If you have shared libraries installed in /usr/quist/lib, you need to tell your system about it, preferably globally. > Alternatively, the scheme code that links libguilereadline could > pass in the entire path, rather than just the filename. This would > ensure that guile links only a matching libguilereadline. There are > a lot of systems on which guile 1.4 and 1.5.x will have to coexist - > I want to use 1.5.6 for new stuff but gnome pulls in 1.4. We have addressed this issue by including the version number of libguilereadline in its name so that 1.4 and 1.6 will not confuse each others libraries. We hope to have a more elegant solution in 1.8. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user