[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build errors at link time - what am I missing?
From: |
Thomas Dickey |
Subject: |
Re: Build errors at link time - what am I missing? |
Date: |
Wed, 30 Nov 2022 18:32:59 -0500 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Wed, Nov 30, 2022 at 08:26:07PM +0000, Chris Green wrote:
> On Wed, Nov 30, 2022 at 08:20:53PM +0000, Chris Green wrote:
> > I'm trying to build vile-9.8 on a Debian system where I have a shared
> > hosting account with ssh access.
> >
> > I'm doing "./configure --prefix=$HOME" and it runs OK but there are
> > couple of warnings.
> >
> > Firstly it can't find a good lex so it says:-
> > configure: WARNING: disabling build for lex-filters
> > I don't think this is going to be an issue.
> >
> > However, later on in configure I get:-
> > configure: WARNING: Cannot find -ltermlib, -lcurses, or -ltermcap
> > and then at link time there are loads of undefined references to
> > tputs, tgoto, and a lot of other txxxxx symbols.
> >
> > So presumably I need to build one of those libraries, or is there
> > something simpler I can do?
> >
> The system does have libncurses, it's in /usr/lib/x86_64-linux-gnu. Is
> it possible that directory isn't on the cc/linker search path? How do
> I add it?
You need the development package. The runtime package has a similarly named
library file.
For example (Debian/oldstable)
libtinfo6 has
/usr/lib/x86_64-linux-gnu/libtic.so.6
libncurses-dev hs
/usr/lib/x86_64-linux-gnu/libtinfo.so
The plain ".so" is what development packages link with, e.g., -ltinfo
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature