From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26547 invoked by alias); 17 Nov 2001 14:17:44 -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 26525 invoked from network); 17 Nov 2001 14:17:41 -0000 Received: from unknown (HELO li.mine.nu) (195.163.18.16) by sourceware.cygnus.com with SMTP; 17 Nov 2001 14:17:41 -0000 Received: from abc.se (li.mine.nu [192.168.0.2]) by li.mine.nu (Postfix) with ESMTP id CB4878E3F3; Sat, 17 Nov 2001 14:19:07 +0100 (CET) Message-ID: <3BF663CB.F42A6F4E@abc.se> Date: Fri, 19 Oct 2001 15:01:00 -0000 From: Bo Forslund X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.12 i686) X-Accept-Language: en MIME-Version: 1.0 To: Alexey Rodriguez Y Cc: Marius Vollmer , 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-q4/txt/msg00010.txt.bz2 Hi! It seems like dynlink.scm get the libname from ../gtk-1.2/gdk.scm and ../gtk-1.2/gtk.scm. Then there is a dynlink-old.scm that is looking for different libname extensions but it doesnt seem to be used. It seems to me that the only lib dynlink.scm is looking for is libguilegtk-1.2. 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? This line in gtk.scm and gdk.scm (merge-compiled-code "sgtk_init_gtk_gdk_glue" "libguilegtk-1.2.so") and commenting out :use-module(gtk dynlink-old) works for me. (define-module (gtk dynlink) :use-module (gtk config) ;; :use-module (gtk dynlink-old) ) Would it be possible to put in an appropriate libname extension during make, in for example config.scm. Bo