bug-ncurses
[Top][All Lists]
Advanced

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

Re: my problem in the new Ncurses ? maybe a bug?


From: Thomas Dickey
Subject: Re: my problem in the new Ncurses ? maybe a bug?
Date: Sat, 06 Apr 2013 21:10:52 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Apr 02, 2013 at 12:20:52PM +0000, Viola Zolt?n wrote:
> Hi, excuse me for the bad English... I develop a new Linux distribution,
> named "SaraswatiLinux", based on the "dormant" GoboLinux. I am not a
> "hacker", only a "power user".
> A try make the system "up-to-date", cca in the order via "LFS", but in the
> compile process of lot of programs which need ncurses, it become me the
> following error messages (for ekzample in the following case, at compiling
> of "MOC"):
> 
> System/Links/Executables/ld: interface_elements.o: undefined reference to
> symbol 'acs_map'
> /System/Links/Executables/ld: note: 'acs_map' is defined in DSO
> /System/Links/Libraries//libtinfo.so.5 so try adding it to the linker
> command line

There are a lot of details here.  It seems possible that the ncurses library
was built without a dependency upon the tinfo library.  (I do not have a
system with similar configuration to compare, so I am guessing).  On my
system, I can see the dependency in the library itself using objdump with
the "-p" option, e.g., the "NEEDED" lines in this listing:

libncurses.so.5.9:     file format elf64-x86-64

Program Header:
    LOAD off    0x0000000000000000 vaddr 0x0000000000000000 paddr 
0x0000000000000000 align 2**21
         filesz 0x000000000002a82c memsz 0x000000000002a82c flags r-x
    LOAD off    0x000000000002b000 vaddr 0x000000000022b000 paddr 
0x000000000022b000 align 2**21
         filesz 0x0000000000000a6c memsz 0x0000000000000c20 flags rw-
 DYNAMIC off    0x000000000002b028 vaddr 0x000000000022b028 paddr 
0x000000000022b028 align 2**3
         filesz 0x00000000000001c0 memsz 0x00000000000001c0 flags rw-
    NOTE off    0x0000000000000190 vaddr 0x0000000000000190 paddr 
0x0000000000000190 align 2**2
         filesz 0x0000000000000024 memsz 0x0000000000000024 flags r--
EH_FRAME off    0x00000000000269e8 vaddr 0x00000000000269e8 paddr 
0x00000000000269e8 align 2**2
         filesz 0x0000000000000c64 memsz 0x0000000000000c64 flags r--
   STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr 
0x0000000000000000 align 2**3
         filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-

Dynamic Section:
  NEEDED               libc.so.6
  NEEDED               libtinfo.so.5
  SONAME               libncurses.so.5
  RPATH                ../lib:/usr/local/ncurses/lib
  INIT                 0x0000000000007068
  FINI                 0x0000000000023178
  HASH                 0x00000000000001b8
  GNU_HASH             0x0000000000000d30
  STRTAB               0x0000000000004370
  SYMTAB               0x0000000000001778
  STRSZ                0x0000000000000ffd
  SYMENT               0x0000000000000018
  PLTGOT               0x000000000022b2d8
  PLTRELSZ             0x0000000000001638
  PLTREL               0x0000000000000007
  JMPREL               0x0000000000005a30
  RELA                 0x0000000000005748
  RELASZ               0x00000000000002e8
  RELAENT              0x0000000000000018
  VERNEED              0x0000000000005718
  VERNEEDNUM           0x0000000000000001
  VERSYM               0x000000000000536e
  RELACOUNT            0x0000000000000001

Version References:
  required from libc.so.6:
    0x0d696913 0x00 03 GLIBC_2.3
    0x09691a75 0x00 02 GLIBC_2.2.5


-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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