bug-ncurses
[Top][All Lists]
Advanced

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

Undefined symbols with ncurses programs


From: Alexander Haväng
Subject: Undefined symbols with ncurses programs
Date: Thu, 19 Oct 2000 13:17:07 +0200
User-agent: Mutt/1.2i

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

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
-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# 

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



reply via email to

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