From: ludo@gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong@member.fsf.org>
Cc: help-guix@gnu.org, Alex Vong <alexvong1995@gmail.com>
Subject: Re: (dynamic-link "libm") doesn't work on guile
Date: Fri, 08 Jan 2016 11:07:38 +0100 [thread overview]
Message-ID: <877fjkmljp.fsf@gnu.org> (raw)
In-Reply-To: <87a8ogbvii.fsf@member.fsf.org> ("宋文武"'s message of "Fri, 08 Jan 2016 11:27:49 +0800")
iyzsong@member.fsf.org (宋文武) skribis:
> The `dynamic-link` will search and dlopen the shared library. The guile
> from guix doesn’t search common places like ‘/usr/lib’, so you need to
> set the environment variable `LD_LIBRARY_PATH` or `LTDL_LIBRARY_PATH`
> explicitly to the directory contains `libm.so`.
‘LTDL_LIBRARY_PATH’ is safer in that it only affects software that uses
libltdl’s dlopen facility.
> by the way, since guile is linked with libm.so, we can just use
> `(dynamic-link)` here.
Yup!
Ludo’.
next prev parent reply other threads:[~2016-01-08 10:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-07 10:36 (dynamic-link "libm") doesn't work on guile Alex Vong
2016-01-08 2:30 ` Leo Famulari
2016-01-08 11:56 ` Alex Vong
2016-01-08 3:27 ` 宋文武
2016-01-08 10:07 ` Ludovic Courtès [this message]
2016-01-08 12:43 ` Alex Vong
2016-01-08 13:51 ` Ludovic Courtès
2016-01-09 14:08 ` Alex Vong
2016-01-09 17:39 ` Ludovic Courtès
2016-01-10 6:05 ` Alex Vong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877fjkmljp.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=alexvong1995@gmail.com \
--cc=help-guix@gnu.org \
--cc=iyzsong@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.