This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ERROR: In procedure dynamic-link:


Alexey Rodriguez Y <alexey@memi.umss.edu.bo> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]