From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25135 invoked by alias); 18 Nov 2001 16:30:18 -0000 Mailing-List: contact guile-gtk-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 25114 invoked from network); 18 Nov 2001 16:30:15 -0000 Received: from unknown (HELO zagadka.ping.de) (195.138.42.83) by sourceware.cygnus.com with SMTP; 18 Nov 2001 16:30:15 -0000 Received: (qmail 655 invoked by uid 1000); 18 Nov 2001 16:30:13 -0000 To: Bo Forslund Cc: Alexey Rodriguez Y , guile-gtk list Subject: Re: ERROR: In procedure dynamic-link: References: <3BF335B5.CC95D0F4@abc.se> <3BF43FF9.9D8E88D0@abc.se> <87pu6j4n9q.fsf@zagadka.ping.de> <200111162220.fAGMKYq02198@orion.memi.umss.edu.bo> <3BF663CB.F42A6F4E@abc.se> From: Marius Vollmer Date: Mon, 05 Nov 2001 17:33:00 -0000 In-Reply-To: <3BF663CB.F42A6F4E@abc.se> Message-ID: <87pu6gyrcb.fsf@zagadka.ping.de> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-q4/txt/msg00011.txt.bz2 Bo Forslund writes: > Is it a bad idea to make some mechanism that decide what OS is > running it and pass the correct libname to > /usr/share/guile/gtk-1.2/gdk.scm and > /usr/share/guile/gtk-1.2/gtk.scm? Yes. The OS specifica should be taken care of by `dynamic-link' itself, via libltdl. That's why you shouldn't specify a file name extension to dynamic-link, it will provide the correct one on its own. The setup in guile-gtk should work as it is. When it doesn't work, we need to find the reason. Shared libraries are somewhat wicked, and so the reason can be quite subtle. More on this later...