[oi-dev] 415 libreadline.so.5: symbol tgetent ... not found
Julian Wiesener
jw at vtoc.de
Thu Jun 30 20:00:16 UTC 2011
Hi,
On Thu, 2011-06-30 at 01:32 -0400, Gordon Ross wrote:
> I looked into this a bit more, and there's a really nice
> way to deal with this using a "filter" library. A new
> filter library (libtermcap.so.1) exports the traditional
> (BSD-style) termcap functions, but marks all those
> exported symbols as NODIRECT. That way, the
> consuming library or application can link with a
> different curses implementation, and if it provides
> those symbols, those will be used instead.
>
> I tried this out and it works great! have a look:
> http://www.yalms.org/cr/libtermcap/
>
> If we build and install this libtermcap (filter) and then
> rebuild libreadline to use it (with the fix I suggested
> previously) it satisfies both goals (1) and (2).
looks good to me and really superior to the oracle approach. Thanks.
Regards,
Julian
More information about the oi-dev
mailing list