From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Vollmer To: Ariel Rios Cc: guile-gtk@sourceware.cygnus.com Subject: Re: Checking gnome-guile Date: Wed, 29 Nov 2000 14:21:00 -0000 Message-id: <87r93ufofh.fsf@zagadka.ping.de> References: X-SW-Source: 2000-q4/msg00052.html Ariel Rios writes: > /usr/local/share/guile/gtk/dynlink.scm:19:34: In procedure dynamic-link in > expression (dynamic-link libname): > /usr/local/share/guile/gtk/dynlink.scm:19:34: file not found" I have not tried your code, but let me try one suggestion anyway: it is often the case that libltdl (which does dynamic linking for Guile nowadays) tries a lot of files for a library and uses the first that can be linked successfully. When a dlopen fails, for whatever reason, it carries on with its list of filenames to try. This means that you always get the error message that corresponds to the last name that was tried. So, when a dlopen fails for your lib because some symbols are undefined, you will still get a "file not found" error because libltdl just carries on. This bug has annoyed me quite some time, and I really should fix it... (libltdl should only try the next name on its list when the previous one failed with ENOENT.)