make check failing on mac leopard

Charles Day cedayiv at gmail.com
Thu Feb 19 14:36:53 EST 2009


On Thu, Feb 19, 2009 at 11:10 AM, Charles Day <cedayiv at gmail.com> wrote:

> I tried "make check" on my mac today, and it is failing (see below). I
> assume that this is related to the ".so" vs. ".dylib" thing, to which I hope
> that Dave can still recall the answer. See:
> http://www.mail-archive.com/fink-devel@lists.sourceforge.net/msg13057.html
> Any bright ideas on what I have to change to fix this?
>

Sorry to reply to my own question, but it was solved by adjusting
$DYLD_LIBRARY_PATH with:

export
DYLD_LIBRARY_PATH="/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources:/opt/local/lib"

(all on one line)

This was for libraries built with MacPorts, so I guess it would be different
with fink.


>
> Cheers,
> Charles
>
>
> make  check-TESTS
> ERROR: In procedure dynamic-link:
> ERROR: file: "libguile-srfi-srfi-13-14-v-1", message:
> "dlopen(libguile-srfi-srfi-13-14-v-1.so, 9): image not found"
>
> (process:55398): gnc.module-WARNING **: Could not locate module gnucash/foo
> interface v.0
>   test-load-c.c: testing module load/unload from C ...   Failed to load foo
> FAIL: test-load-c
> ERROR: no code for module (gnucash gnc-module)
> FAIL: test-load-scm
> ERROR: no code for module (gnucash gnc-module)
> FAIL: test-gwrapped-c
> ERROR: no code for module (gnucash gnc-module)
> FAIL: test-scm-module
> ERROR: no code for module (gnucash gnc-module)
> FAIL: test-scm-multi
> ERROR: no code for module (gnucash gnc-module)
> FAIL: test-load-deps
>   test-modsysver.c: checking for a module we shouldn't find ...
>
> (process:55445): gnc.module-WARNING **: Could not locate module
> gnucash/futuremodsys interface v.0
>   ok
> PASS: test-modsysver
>   test-incompatdep.c:  loading a module with bad deps ...
>
> (process:55463): gnc.module-WARNING **: Could not locate module
> gnucash/incompatdep interface v.0
>   ok
> PASS: test-incompatdep
>
> (process:55481): gnc.module-WARNING **: Could not locate module
> gnucash/agedver interface v.5
>   test-agedver.c:  asking for an old but supported interface ... failed
> FAIL: test-agedver
>   test-dynload.c: testing dynamic linking of libgnc-module ... OK
> PASS: test-dynload
>   test-scm-dynload: testing dynamic-link of libgnc-module from Scheme.
> ERROR: In procedure dynamic-link:
> ERROR: file: "libgnc-module", message: "dlopen(libgnc-module.so, 9): image
> not found"
> FAIL: test-scm-dynload
>   test-scm-init: testing Scheme-only module system init.
> ERROR: no code for module (gnucash gnc-module)
> FAIL: test-scm-init
> ==========================================
> 9 of 12 tests failed
> Please report to gnucash-devel at gnucash.org
> ==========================================
>
>


More information about the gnucash-devel mailing list