Re: cannot find -ltermcap ? (solved)

From: Philippe Hezaine <philippe.hezaine_at_free.fr>
Date: Fri Apr 17 2009 - 21:03:26 CEST
Alexandre Ratchov a écrit :
> On Fri, Apr 17, 2009 at 07:08:08PM +0200, Philippe Hezaine wrote:
>> Hi,
>>
>> I get this message when i compile the last tar.gz
>> I'm on gentoo with  gcc-4.3.2
>> I've seen a previous mail in the list about the issue on gentoo but it  
>> don't help me, apart the tip for the sys-libs/libtermcap-compat.
>>
>> cc   rmidish.c \
>> 		 -o rmidish  -lreadline -ltermcap
>> /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/bin/ld: 
>> cannot find -ltermcap
>> collect2: ld a retourné 1 code d'état d'exécution
>> make: *** [rmidish] Erreur 1
>>
>> Any help? Thanks in advance.
>>
> 
> hi,
> 
> Is seems that libtermcap is not visible for any reason,
> In which directory is it installed ?
> 
> [...]
> 
> If for any reason you can't use libtermcap, you can try
> using libncurses instead: edit Makefile.in, replace
> -ltermcap by -lncurses, run ./configure && make
> 
> let me know if it works
> 
> -- Alexandre
> 
> 

Thanks for your quick reply.
It's solved. I forgot the 0.8 after so.2

ln -s /lib/libtermcap.so.2.0.8 /usr/lib/libtermcap.so

Sorry for the noise.
-- 
Phil.
Received on Fri, 17 Apr 2009 21:03:26 +0200

This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:20 CET