Hi Karl.

On Tue, Feb 01, 2022 at 10:48:15PM +0100, [email protected] wrote:
> even though libtermcap is there:
> 
> $ ls -l /usr/lib64/libtermcap.so.2*
> lrwxrwxrwx 1 root root    19 Feb  1 20:17 /usr/lib64/libtermcap.so.2 -> 
> libtermcap.so.2.0.8
> -rwxr-xr-x 1 root root 18384 Feb  1 20:17 /usr/lib64/libtermcap.so.2.0.8

The linker should be looking for libtermcap.so, not libtermcap.so.2. Are
you sure it is there?

> Is it there so gnucap compiles on historic unixes or what ?

Linking termcap does not seem to be neccessary these days. But it
probably was, and it does not seem to hurt much.

NB: the autotools build system [1] does not try -ltermcap (anymore), and
will probably fail on older systems. Not sure if this is a good
solution. Maybe pkg-config is?

cheers
felix

[1] http://gnucap.org/dokuwiki/doku.php/gnucap:manual:autotools

Reply via email to