[Userland-team] [OpenIndiana Distribution - Bug #1206] link libreadline with the new libtermcap (filter) library

illumos project devnull at illumos.org
Fri Jul 13 02:39:02 UTC 2012


Issue #1206 has been updated by Gordon Ross.


Unfortunately, looks like the patch didn't work when Jon built it.
I wonder why?  When I build with the attached patch in place as
<pre>
  components/readline/patches/shobj-conf.patch
</pre>
and then build components/readline, the resulting library shows:
<pre>
$ elfdump -d build/i86/shlib/libreadline.so.5

Dynamic Section:  .dynamic
     index  tag                value
       [0]  NEEDED            0x30fd              libc.so.1
       [1]  POSFLAG_1         0x1                 [ LAZY ]
       [2]  NEEDED            0x3139              libtermcap.so.1
       [3]  SONAME            0x1                 libreadline.so.5
</pre>

Note libtermcap.so.1 in the list above, but missing in oi_151a5 (and earlier).

----------------------------------------
Bug #1206: link libreadline with the new libtermcap (filter) library
https://www.illumos.org/issues/1206

Author: Gordon Ross
Status: Feedback
Priority: High
Assignee: OI Userland
Category: SFW (Solaris Freeware)
Target version: oi_151_stable
Difficulty: Bite-size
Tags: termcap


illumos issue 1168 introduces a new libtermcap "fiter" library
that allows libreadline to pull just what it needs from libcurses,
and do so in a way that does not bind consumers of libreadline
to any particular curses library.

In order to avoid the need to add -ltermcap or -lcurses to all
applications that link with libreadline, we should build our
libreadline to have a dependency on this new filter library.

Note that fixing 1168 is a prerequisite for this issue.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Userland-team mailing list