On Sunday, April 16, 2017 5:24 AM, Amirouche <address@hidden> wrote:
I am trying to compile guile-ncurses from git on Ubuntu/Guix and encounter an
error:
GUILE_AUTO_COMPILE=0 \
LTDL_LIBRARY_PATH=/home/amirouche/src/guile/ncurses/src/ncurses/.libs \
/home/amirouche/.guix-profile/bin/guild compile
--target="x86_64-pc-linux-gnu" -Warity-mismatch -Wformat -Wunused-variable \
-L "/home/amirouche/src/guile/ncurses/src/ncurses/.." -L
"/home/amirouche/src/guile/ncurses/src/ncurses/.." -o "menu.go" "menu.scm"
With the "file not found" error from ltdl, it is impossible to know
which library hasn't been found, either libguile-ncurses or one of its
dependencies.
Try rerunning that command with the LD_DEBUG=libs prepended, so we can
see what the problem is.
LD_DEBUG=libs GUILE_AUTO_COMPILE=0 \
LTDL_LIBRARY_PATH=/home/amirouche/src/guile/ncurses/src/ncurses/.libs \
/home/amirouche/.guix-profile/bin/guild compile
--target="x86_64-pc-linux-gnu" -Warity-mismatch -Wformat -Wunused-variable \
-L "/home/amirouche/src/guile/ncurses/src/ncurses/.." -L
"/home/amirouche/src/guile/ncurses/src/ncurses/.." -o "menu.go" "menu.scm"
-Mike