From: ludo@gnu.org (Ludovic Courtès)
To: Andy Wingo <wingo@igalia.com>
Cc: guix-devel@gnu.org
Subject: Re: Developing Guile with Guix
Date: Thu, 20 Aug 2015 00:51:03 +0200 [thread overview]
Message-ID: <87fv3e51uw.fsf@gnu.org> (raw)
In-Reply-To: <87r3na3zqq.fsf@igalia.com> (Andy Wingo's message of "Tue, 11 Aug 2015 12:07:09 +0200")
Andy Wingo <wingo@igalia.com> skribis:
> On Tue 11 Aug 2015 11:11, Andy Wingo <wingo@igalia.com> writes:
>
>> the salient line being:
>>
>> ld-wrapper: error: attempt to use impure library "/opt/guile/lib/libguile-2.2.so"
>>
>> What do I do here? Linking against /opt/guile/lib/libguile-2.2.so is
>> *exactly* what I want to do, so not quite sure how to proceed. I *also*
>> want the resulting binary fixed up to link via -rpath into the store, so
>> I do need the ld-wrapper AFAIU, but I guess I need for it to allow
>> linking into /opt.
>
> Grovelling in source I find that "GUIX_LD_WRAPPER_ALLOW_IMPURITIES=yep
> make install" works. Cool :)
:-)
> I guess the "right" solution is an environment variable setting to allow
> linking to libraries whose file names are absolute. You might possibly
> want to exclude libraries in /usr, just to avoid a hassle, but people do
> make things in /usr/local so dunno.
>
> Maybe GUIX_LD_WRAPPER_ALLOW_IMPURITIES=/opt/guile:/opt/foo or so.
Yes, that’s a good idea. Would you like to give it a try? :-)
Ludo’.
prev parent reply other threads:[~2015-08-19 22:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-11 9:11 Developing Guile with Guix Andy Wingo
2015-08-11 10:07 ` Andy Wingo
2015-08-19 22:51 ` Ludovic Courtès [this message]
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=87fv3e51uw.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=wingo@igalia.com \
/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.