On Sun, Jun 3, 2012 at 11:15 PM, Thien-Thi Nguyen wrote:
> () cong gu
> () Sun, 3 Jun 2012 17:04:29 -0500
>
> I found libtool offers a way to make a shared library globally
> available. So I wrote a patch that provides `dynamic-link-global'.
> A call like `(dynamic-link-global "libgslcblas
BTW, i made a similar design decision in Guile 1.4.x (see below),
which now i regret, so that's why i comment: to selfishly keep you
away from my regrets so that you can find your own. :-D
[cc trimmed]
SCM_DEFINE
(scm_dynamic_link, "dynami
() cong gu
() Sun, 3 Jun 2012 17:04:29 -0500
I found libtool offers a way to make a shared library globally
available. So I wrote a patch that provides `dynamic-link-global'.
A call like `(dynamic-link-global "libgslcblas")' should make
things work.
I don't know whether it is por
I found libtool offers a way to make a shared library globally
available. So I wrote a patch that provides `dynamic-link-global'.
A call like `(dynamic-link-global "libgslcblas")' should make things work.
I don't know whether it is portable, though. Documentation of libtool
mentioned that not al
On Sat 26 Mar 2011 10:53, Johan Hidding writes:
> Hello Ludo',
> I had a chat with Mark Weaver on IRC; he could reproduce the error.
> The output shows basic GSL working, but GSL+CBLAS failing. I found a
> way to -combine the static versions into a single shared library using
> a trick I found on
Hello Ludo',
I had a chat with Mark Weaver on IRC; he could reproduce the error.
The output shows basic GSL working, but GSL+CBLAS failing. I found a
way to -combine the static versions into a single shared library using
a trick I found on StackOverflow:
> gcc -shared -o c.so -Wl,--whole-archive l
Hi Johan,
Johan Hidding writes:
> I'm trying to use GSL through the FFI, but the program is not linked
> to libgslcblas, so it cannot find some functions. Attached a minimal
Can you please post your Guile session including the error message that
you get?
Thanks,
Ludo’.
Hi,
I'm trying to use GSL through the FFI, but the program is not linked
to libgslcblas, so it cannot find some functions. Attached a minimal
example.
Cheers, Johan
(use-modules (system foreign)
(rnrs bytevectors))
(define libgsl (dynamic-link "libgsl"))
(define libgslcblas (dynamic-link "