[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error during compilation

From: Štěpán Němec
Subject: Re: Error during compilation
Date: Mon, 8 Feb 2010 15:03:30 +0100
User-agent: Mutt/1.5.20 (2009-08-27)

> Hm, current git compiles without warnings on various fedora, debian, and
> macos boxes that I have. There are some info warnings IIRC, yes.

I have attached guile-make.log with stderr output during compilation.

> That would seem to indicate that your make with libgc 6.8 partially
> succeeded, then you made with 7.1, with strange results? Something like
> that. Make sure that your libguile is properly linked to the right
> libgc.

Indeed, it is not:
~% ldd /usr/local/bin/guile
        linux-gate.so.1 =>  (0xb7fca000)
        libguile.so.18 => not found
        libgc.so.1 => /usr/lib/libgc.so.1 (0xb7f7b000)
        libunistring.so.0 => /usr/lib/libunistring.so.0 (0xb7e6d000)
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7e3b000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e16000)
        libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb7e0e000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cbf000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ca7000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ca2000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c77000)
        /lib/ld-linux.so.2 (0xb7fcb000)

Wasn't it supposed to pick up /usr/local/lib/libgc.so.1 on itself?
Or, will adding BDW_GC_CFLAGS='-I/usr/local/include' 
BDW_GC_LIBS='-L/usr/local/lib -lgc'
to configure fix it?

(The output above comes after `make clean', `./configure --disable-nls',
`make', `make check', `sudo make install'; with libgc-7.1 installed in
/usr/local; and the same test failed again.)
> > And finally, after `sudo make install', guile gives me this error:
> > ~% type guile
> > guile is /usr/local/bin/guile
> > ~% guile
> > guile: error while loading shared libraries: libguile.so.18: cannot open
> > shared object file: No such file or directory
> Perhaps do an strace to see what it's trying to do?

Please see the attached guile-strace.

> > Not mentioning
> >
> > make  1412.32s user 32.42s system 93% cpu 25:43.24 total
> Heh :) That's because much of Guile is implemented in Scheme, including
> the compiler -- so when you do a fresh checkout you have to bootstrap
> the compiler from the interpreter, which can be quite slow. We'll be
> trying to speed this up, but unfortunately this is how it is right now.

Oh yeah, I figured as much... It's just that my heart is bleeding,
watching my old notebook panting like that for half an hour ;-).

Thank you again for your helpful reply!

Best regards,


Attachment: guile-make.log
Description: Text document

Attachment: guile-strace
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]