guile-devel
[Top][All Lists]
Advanced

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

Re: 1.9.3 check test fail (powerpc-apple-darwin8)


From: David Fang
Subject: Re: 1.9.3 check test fail (powerpc-apple-darwin8)
Date: Mon, 19 Oct 2009 16:29:12 -0400 (EDT)

I've re-confirmed my findings with guile-1.9.4.  Still stumped...

I'm seeing the following check failure with guile-1.9.3 on
powerpc-apple-darwin8 (plain ../configure, VPATH build):

...
Running r4rs.test
Running r5rs_pitfall.test
Running r6rs-ports.test
ERROR: In procedure dynamic-func:
ERROR: dlsym(0x103120, scm_init_r6rs_ports): symbol not found

The dlsym () call comes form module/rnrs/io/ports.scm:
 (load-extension "libguile" "scm_init_r6rs_ports")
The failure could mean that dlopen(3) didnt pick up the right libguile,
which normally shouldnt happen because the Libtool wrapper script at
libguile/guile sets up the right dynamic linker search path.

Can you try ./meta/guile -c '(use-modules (rnrs io ports))'?  If that
fails, can you try to somehow check what the dynamic linker search path
is? (I dont know how to do it on Mac OS X)

Hi,
        Sorry for the delay.  I tried the pre-install meta/guile.

        $ (use-modules (rnrs io ports))

This fails with the same dlsym error message, whether I run with -c, or interactively. I checked the 'lsof' to see which libraries it is picking up 'lsof -p PID', and it looks like it's picking up all shared libs in the build directory properly:

.../fink.build/guile19-1.9.3-1/guile-1.9.3/build/libguile/.libs/libguile.18.dylib

% meta/guile
$ (for-each (lambda (x) (display x) (newline)) %load-path )
/Volumes/Mercedes2/sw/src/fink.build/guile19-1.9.3-1/guile-1.9.3/build/guile-readline
/Volumes/Mercedes2/sw/src/fink.build/guile19-1.9.3-1/guile-1.9.3/guile-readline
/Volumes/Mercedes2/sw/src/fink.build/guile19-1.9.3-1/guile-1.9.3/build
/Volumes/Mercedes2/sw/src/fink.build/guile19-1.9.3-1/guile-1.9.3
/Volumes/Mercedes2/sw/src/fink.build/guile19-1.9.3-1/guile-1.9.3/build/module
/Volumes/Mercedes2/sw/src/fink.build/guile19-1.9.3-1/guile-1.9.3/module
/sw/share/guile/site
/sw/share/guile/1.9
/sw/share/guile

[/Volume/Mercedes2/sw/src/fink.build/... is where I'm building]

I've checked that symbol table for 'nm libguile/.libs/libguile.dylib' contains a defined symbol for "scm_init_r6rs_ports":

00061d60 T _scm_init_r6rs_ports

Any other ideas?

Fang



David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/


David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/

reply via email to

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