bug-ncurses
[Top][All Lists]
Advanced

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

Re: [bug-ncurses] Some symbols missed in llib-ltinfo and llib-ltinfot fo


From: Dr. Werner Fink
Subject: Re: [bug-ncurses] Some symbols missed in llib-ltinfo and llib-ltinfot for 6.1?
Date: Tue, 27 Feb 2018 08:33:21 +0100
User-agent: NeoMutt/20170912 (1.9.0)

On Tue, Feb 27, 2018 at 07:22:46AM +0000, Dr. Werner Fink wrote:
> 
> does not and the only difference is the order of loading libtinfo/libtinfow
> as the bcc module does use libLLVM.so linked to both tinfo types.
> 
> For bcc first the gdb shows
> 
>   (gdb) info sharedlibrary
>   ...
>   0x00007f832fd86870  0x00007f832fd94598  Yes         /lib64/libtinfo.so.6
>   ...
>   0x00007f8329bb1a70  0x00007f8329bbfb58  Yes         /lib64/libtinfow.so.6
>   ...
>   0x00007f83287abb10  0x00007f83287d1c2f  Yes         /lib64/libncursesw.so.6
> 
> and the working case looks like
> 
>   (gdb) info sharedlibrary
>   ...
>   0x00007fd11d9d1870  0x00007fd11d9df598  Yes         /lib64/libtinfo.so.6
>   ...
>   0x00007fd11d582b10  0x00007fd11d5a8c2f  Yes         /lib64/libncursesw.so.6
>   0x00007fd11d355a70  0x00007fd11d363b58  Yes         /lib64/libtinfow.so.6

Indeed the culprit seems to be that libLLVM.so load some other shared
libaries which leads to this mixed case:

      7486:     file=libtinfo.so.6 [0];  needed by /lib64/libreadline.so.7 [0]
      7486:     find library=libtinfo.so.6 [0]; searching
      7486:      search path=           (RUNPATH from file /bin/bash)
      7486:      search cache=/etc/ld.so.cache
      7486:       trying file=/lib64/libtinfo.so.6

      [...]
      7492:     file=libtinfo.so.6 [0];  needed by /usr/lib64/libLLVM.so.5.0.1 
[0]
      7492:     find library=libtinfo.so.6 [0]; searching
      7492:      search path=/usr/lib64/../lib64                (RUNPATH from 
file /usr/lib64/libLLVM.so.5.0.1)
      7492:       trying file=/usr/lib64/../lib64/libtinfo.so.6
      7492:      search cache=/etc/ld.so.cache
      7492:       trying file=/lib64/libtinfo.so.6

      [...]

      7492:     file=libtinfow.so.6 [0];  needed by 
/usr/lib64/../lib64/libedit.so.0 [0]
      7492:     find library=libtinfow.so.6 [0]; searching
      7492:      search cache=/etc/ld.so.cache
      7492:       trying file=/lib64/libtinfow.so.6

Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

Attachment: signature.asc
Description: PGP signature


reply via email to

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