From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3712 invoked by alias); 25 Nov 2001 13:33:52 -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 3691 invoked from network); 25 Nov 2001 13:33:51 -0000 Received: from unknown (HELO zagadka.ping.de) (195.138.42.181) by sourceware.cygnus.com with SMTP; 25 Nov 2001 13:33:51 -0000 Received: (qmail 1572 invoked by uid 1000); 25 Nov 2001 13:33:49 -0000 To: Alexey Rodriguez Y Cc: Bo Forslund , guile-gtk list Subject: Re: ERROR: In procedure dynamic-link: References: <3BF335B5.CC95D0F4@abc.se> <200111162220.fAGMKYq02198@orion.memi.umss.edu.bo> <87elmucrhj.fsf@zagadka.ping.de> <200111212059.fALKxcD08942@orion.memi.umss.edu.bo> From: Marius Vollmer Date: Thu, 15 Nov 2001 05:28:00 -0000 In-Reply-To: <200111212059.fALKxcD08942@orion.memi.umss.edu.bo> Message-ID: <87667zht4y.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/msg00016.txt.bz2 Alexey Rodriguez Y writes: > I am sending the output of strace when i run guile-gtk. Ahh, so you are running guile-gtk, as opposed to just guile. Sorry, I didn't noticed that earlier. With guile-gtk, no dynamic loading of libguilegtk-1.2 should happen. That is (was) the point of guile-gtk: it should work on systems where dynamic linking would not. >From your strace output: open("i686/mmx/libguilegtk-1.2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("i686/libguilegtk-1.2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("mmx/libguilegtk-1.2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("libguilegtk-1.2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=78514, ...}) = 0 old_mmap(NULL, 78514, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 close(3) = 0 open("/usr/lib/libguilegtk-1.2.so.0", O_RDONLY) = 3 This shows what the OS is doing when starting guile-gtk, "main" has not yet been called. You can see that is checks various locations (probably from your LD_LIBRARY_PATH, right?) and then goes on to consult /etc/ld.so.cache to find libguilegtk-1.2.so.0 in /usr/lib. Later: open("/users/alexey/proyecto/cint/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("i686/mmx/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("i686/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("mmx/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=78514, ...}) = 0 old_mmap(NULL, 78514, PROT_READ, MAP_PRIVATE, 5, 0) = 0x406ae000 close(5) = 0 open("/lib/i686/mmx/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/i686/mmx", 0xbfffe640) = -1 ENOENT (No such file or directory) open("/lib/i686/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/i686", 0xbfffe640) = -1 ENOENT (No such file or directory) open("/lib/mmx/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/mmx", 0xbfffe640) = -1 ENOENT (No such file or directory) open("/lib/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4864, ...}) = 0 open("/usr/lib/i686/mmx/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686/mmx", 0xbfffe640) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686", 0xbfffe640) = -1 ENOENT (No such file or directory) open("/usr/lib/mmx/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/mmx", 0xbfffe640) = -1 ENOENT (No such file or directory) open("/usr/lib/libguilegtk-1.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=62712, ...}) = 0 munmap(0x406ae000, 78514) = 0 open("libguilegtk-1.2.la", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "ERROR", 5) = 5 write(2, ": ", 2) = 2 write(2, "In procedure ", 13) = 13 write(2, "dynamic-link", 12) = 12 write(2, ":\n", 2) = 2 write(2, "ERROR", 5) = 5 write(2, ": ", 2) = 2 write(2, "file not found", 14) = 14 write(2, "\n", 1) = 1 This looks very strange indeed, and does not fit with what I would expect from the dynamic linking code in guile-1.4. The log above does show no searching for a ".la" file, and no attempt at an ".so" file at all. I'm confused now. I think it would be best if you remove the Mandrake guile packages from your system and install guile-1.5 from source. Bo Forslund can help you with that, I think.