guile-user
[Top][All Lists]
Advanced

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

Re: Sabotage against guile users?


From: Ludovic Courtès
Subject: Re: Sabotage against guile users?
Date: Thu, 11 Jul 2013 00:15:49 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Roland Orre <address@hidden> skribis:

> which contains
> (load-extension (string-append bcpnn2-path ".libs/libbcpnn"
> "scm_init_bcpnn")
> I get the error message
> ./bcpnn2.scm:13:1: In procedure dynamic-link in expression (load-extension
> (string-append bcpnn2-path ".libs/libbcpnn") "scm_init_bcpnn"):
> ./bcpnn2.scm:13:1: file: "/home/orre/work/guile/bcpnn-2.1/.libs/libbcpnn",
> message: "file not found"

(Note that you shouldn’t rely on .libs.)

Probably some symbols in libbcpnn are unresolved, perhaps because some
of the libraries it needs were not found.

Can you run:

  objdump -x .libs/libbcpnn.so | grep -e '(NEED|PATH)'

and:

  ldd .libs/libbcpnn.so

> I would be very glad to be hinted about where I can actually find the
> correct and precise doc for making dynamically loadable modules, which is
> fundamental for anything I do.

In the “Linking Programs With Guile” (info "(guile) Linking Programs
With Guile"), for the Guile 2.0 manual at least.

HTH,
Ludo’.




reply via email to

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