[ale] help with lib

Michael Hirsch mhirsch at nubridges.com
Wed Jan 26 14:55:14 EST 2005


They are not in the default search path for the linker.  IMHO, this is a
bug in the distribution, but mostly it is a bug in the makefile, or
configure script.

 

Michael

 

  _____  

From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
Davis, Ringo (Lester)
Sent: Wednesday, January 26, 2005 2:26 PM
To: Atlanta Linux Enthusiasts
Subject: RE: [ale] help with lib

 

Yes that is where the libtermcap.a and libtermcap.so files are. I just
don't understand why the compiler couldn't find them.

Ringo

 

 

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
Michael Hirsch
Sent: Wednesday, January 26, 2005 2:23 PM
To: Atlanta Linux Enthusiasts
Subject: RE: [ale] help with lib

 

The -L/usr/lib/termcap implies that there is a library in that
directory.  What does ls /usr/lib/libtermcap look like?  There must be
something there.

 

Michael

 

  _____  

From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
Davis, Ringo (Lester)
Sent: Wednesday, January 26, 2005 1:13 PM
To: Atlanta Linux Enthusiasts
Subject: RE: [ale] help with lib

 

I finally got it to work with the following:

gcc sailor.c navigate.o -o sailor   -L/usr/lib/termcap -lncurses
-ltermcap -lm

A combination of using ncurses instead of curses and the
-L/usr/lib/termcap.

 

But this does not explain why it could not find the termcap lib. Should
there be a path statement in my .bashrc file to tell gcc where the libs
are located?

Ringo

 

 

 --Appended by Panasonic Mobile Communications
 Development Corporation of U.S.A.-----This e-mail
 and any attachments may contain information that is
 confidential, proprietary, privileged or otherwise
 protected by law. The information is solely intended
 for the named addressee (or a person responsible for
 delivering it to the addressee). If you are not the
 intended recipient of this message, you are not
 authorized to read, print, retain, copy or
 disseminate this message or any part of it. If you
 have received this e-mail in error, please notify
 the sender immediately by return e-mail and delete
 it from your computer. 

-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list