Vincent Legoll <vincent.leg...@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’.