bug-ncurses
[Top][All Lists]
Advanced

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

Re: Undefined symbols with ncurses programs


From: Thomas Dickey
Subject: Re: Undefined symbols with ncurses programs
Date: Thu, 19 Oct 2000 07:34:39 -0400

On Thu, Oct 19, 2000 at 01:17:07PM +0200, Alexander Haväng wrote:
> Hello.
> I'm trying to build ncurses-5.1 on my linux system.
> Relavant system info:
> Linux zelda 2.2.17 #1 Fri Sep 8 20:11:19 CEST 2000 i686 unknown
> glibc 2.1.3 (from source, no patches wse)
> egcs-1.1.2 release
> ld.so 1.9.9
> 
> I supply configure with this:
> --with-shared --libdir=/lib 
> 
> The build is fine, but after the installation when I try to run tic
> or toe it says:
> tic: error in loading shared libraries: tic: undefined symbol: 
> _nc_user_definable
> 
> If I add --disable-tcap-names, I get this instead:
> tic: error in loading shared libraries: tic: undefined symbol: _nc_basename

it's simply falling through to another new symbol not in ncurses 5.0
 
> bash-2.04# ldd /usr/bin/tic
>         libncurses.so.5 => /lib/libncurses.so.5 (0x4001b000)
>         libc.so.6 => /lib/libc.so.6 (0x40059000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> bash-2.04# ls -l /lib/libncurses.so.*
> lrwxrwxrwx   1 root     wheel          15 Oct 19 12:08 /lib/libncurses.so.5 
> -> libtermcap.so.2

this has to be incorrect (the interfaces are a little different).

> -rwxr-xr-x   1 root     wheel      230496 Aug 22 03:45 /lib/libncurses.so.5.0
> -rw-r--r--   1 root     wheel      279654 Oct 19 12:08 /lib/libncurses.so.5.1
> bash-2.04# diff /lib/libtermcap.so.2 /lib/libncurses.so.5.0
> bash-2.04# 

...and this is the problem you are reporting (that tic uses symbols from
ncurses 5.1 which are not in the ncurses 5.0 which is what your library
really is).

> I also tried applying: patch-5.1-20001009.sh and ncurses-5.1-20001014.patch.gz
> But that didn't fix the problem.
> 
> The programs in the test directory seems to work fine.
> 
> What am I doing wrong?
> 
> //Eel
> 
> -- 
> - Si non confectus non reficiat - If it ain't broken, don't fix it
> 
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]