[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(dynamic-link "libm") doesn't work on guile
From: |
Alex Vong |
Subject: |
(dynamic-link "libm") doesn't work on guile |
Date: |
Thu, 07 Jan 2016 18:36:14 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi people,
I got the following error message when trying to dlopen a shared library
in ~/guix-profile/bin/guile installed by guix:
scheme@(guile-user)> (dynamic-link "libm")
ERROR: In procedure dynamic-link:
ERROR: In procedure dynamic-link: file: "libm", message: "file not found"
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
I think it is a guix-specific problem since /usr/bin/guile installed by
debian works fine:
scheme@(guile-user)> (dynamic-link "libm")
$1 = #<dynamic-object "libm">
Any idea?
Thanks,
Alex
- (dynamic-link "libm") doesn't work on guile,
Alex Vong <=