[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help installing guile from source
From: |
Mark H Weaver |
Subject: |
Re: Help installing guile from source |
Date: |
Fri, 13 Oct 2017 21:15:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hi,
Kaushal Modi <address@hidden> writes:
> I thought I installed all the dependencies for guile, but make failed at
> the last moment with this error:
>
> make all-am
> make[3]: Entering directory '/home/kmodi/downloads/git/guile/guile-readline'
> CC readline.lo
> CCLD guile-readline.la
> libtool: warning: '/home/kmodi/stowed/lib/libgc.la' seems to be moved
> libtool: warning: '/home/kmodi/usr_local/6/lib64/libffi.la' seems to be
> moved
> libtool: warning: '/home/kmodi/stowed/lib/libunistring.la' seems to be moved
> libtool: warning: '/home/kmodi/stowed/lib/libgmp.la' seems to be moved
> libtool: warning: '/home/kmodi/stowed/lib/libltdl.la' seems to be moved
> /usr/bin/ld: /home/kmodi/usr_local/6/lib/libncurses.a(lib_termcap.o):
> relocation R_X86_64_32S against `_nc_globals' can not be used when making a
> shared object; recompile with -fPIC
> /home/kmodi/usr_local/6/lib/libncurses.a: could not read symbols: Bad value
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:1753: guile-readline.la] Error 1
This is the relevant error, relating to ncurses. Apparently it was
unable to find a shared library for ncurses. It found only a static
library containing non-relocatable code, but that's not sufficient here
because Guile's trying to build a shared library which needs to be
relocatable.
You can look in 'config.log' for clues of what went wrong when it tried
to find the ncurses shared library.
Mark