[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ELF emacs and libtermcap



I recompiled emacs 19.30 on my debian 1.1 system so it would be elf.

It complained that it needed libtermcap, so I did the trick of linking
libtermcap to libncurses (libtermcap.so -> libncurses.so.3.0 in /lib).

It linked and runs OK under X, but in the console (with TERM=vt100 and
TERM=linux) the screen is all messed up in that characters go to the wrong
place. The same is true if I dial into the machine and run emacs.

Here's the output from ldd:
                             
timshel:/usr/local/lib/emacs/emacs-19.30/src$ ldd emacs  
                      
        libXaw.so.6 => /usr/X11R6/lib/Xaw3d/libXaw.so.6.0                       
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6.0                             
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6.0                               
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6.0                               
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6.0                             
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6.0                           
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6.0                             
        libncurses.so.3.0 => /lib/libncurses.so.3.0                             
        libm.so.5 => /lib/libm.so.5.0.5                                         
        libc.so.5 => /lib/libc.so.5.2.18        
                  
I have a termcap file in /etc that I saved from my old Slackware system.
I put it there for a problem that doesn't exist anymore, but the file is still
there. I don't see that emacs' configure program is checking for its existance.
I didn't think to try removing libtermcap from emac's link to see if
it really was required. Assuming that it still is, why?, and what should
I have done? 


-- 
...RickM...


Reply to: