all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: help-guix@gnu.org, Help-Guix <help-guix-bounces+me=tobias.gr@gnu.org>
Subject: Re: installing libraries
Date: Mon, 25 Jul 2016 22:31:03 +0200	[thread overview]
Message-ID: <871t2hiho8.fsf@gnu.org> (raw)
In-Reply-To: <CAEwRq=ommPOpYcagVZ3zcNnHDEZ4VOpg3nkHUJMJXpvzC60kcQ@mail.gmail.com> (Vincent Legoll's message of "Fri, 22 Jul 2016 22:49:35 +0200")

Vincent Legoll <vincent.legoll@gmail.com> skribis:

>> Which error, exactly?
>
> error while loading shared libraries: libncursesw.so.6: cannot open
> shared object file: No such file or directory

Since Guix(SD) has no notion of “standard location” for libraries, the
normal way to address search path issues is via RUNPATH.

When you install the ‘gcc-toolchain’ package, the ‘ld’ command you get
is a wrapper that automatically passes the right -Wl,-rpath flags to the
real ‘ld’, such that shared libraries are always found.

Could it be that you built with just plain Binutils’ ld, instead of
that?

HTH!

Ludo’.

  reply	other threads:[~2016-07-25 20:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-22 12:36 installing libraries Vincent Legoll
2016-07-22 19:18 ` Tobias Geerinckx-Rice
2016-07-22 19:51   ` Vincent Legoll
2016-07-22 20:24     ` Tobias Geerinckx-Rice
2016-07-22 20:49       ` Vincent Legoll
2016-07-25 20:31         ` Ludovic Courtès [this message]
2016-07-27  9:11           ` Vincent Legoll
2016-07-22 21:11 ` Alex Kost

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=871t2hiho8.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix-bounces+me=tobias.gr@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=vincent.legoll@gmail.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.