help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installing libraries


From: Ludovic Courtès
Subject: Re: installing libraries
Date: Mon, 25 Jul 2016 22:31:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Vincent Legoll <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]