Re: installing libraries

2016-07-27 Thread Vincent Legoll
Hello, > Since Guix(SD) has no notion of “standard location” for libraries, the > normal way to address search path issues is via RUNPATH. OK > 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 >

Re: installing libraries

2016-07-25 Thread Ludovic Courtès
Vincent Legoll 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

Re: installing libraries

2016-07-22 Thread Alex Kost
Vincent Legoll (2016-07-22 15:36 +0300) wrote: > Hello (again), > > I'm trying to do a kernel "make menuconfig", so I have to install some > packages, > make, gcc, binutils, ncurses, glibc, linux-libre-headers... > > but ncurses despite being installed, is not picked up... Try to install

Re: installing libraries

2016-07-22 Thread Vincent Legoll
> Which error, exactly? error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory >> There's no ldconfig, so in absence of LD_LIBRARY_PATH how do dynamic >> libraries get loaded ? > > Are you on a ‘foreign’ Linux distribution by any chance?

Re: installing libraries

2016-07-22 Thread Tobias Geerinckx-Rice
Vincent, On 2016-07-22 21:51, Vincent Legoll wrote: $ guix environment linux-libre --ad-hoc ncurses ... -- make ... (or drop the ‘-- ...’ for an interactive build shell) That will set LIBRARY_PATH (and everything else) up for you. That does not work, same error Which error, exactly?

Re: installing libraries

2016-07-22 Thread Vincent Legoll
> $ guix environment linux-libre --ad-hoc ncurses ... -- make ... > (or drop the ‘-- ...’ for an interactive build shell) > > That will set LIBRARY_PATH (and everything else) up for you. That does not work, same error There's no ldconfig, so in absence of LD_LIBRARY_PATH how do dynamic libraries

Re: installing libraries

2016-07-22 Thread Tobias Geerinckx-Rice
Vincent, On 2016-07-22 14:36, Vincent Legoll wrote: I'm trying to do a kernel "make menuconfig", so I have to install some packages, make, gcc, binutils, ncurses, glibc, linux-libre-headers... but ncurses despite being installed, is not picked up... vince@guixsd ~/tmp/build-linux$ export

installing libraries

2016-07-22 Thread Vincent Legoll
Hello (again), I'm trying to do a kernel "make menuconfig", so I have to install some packages, make, gcc, binutils, ncurses, glibc, linux-libre-headers... but ncurses despite being installed, is not picked up... vince@guixsd ~/tmp/build-linux$ ls $LIBRARY_PATH/*ncurses*