prelink two step

Daniel Jacobowitz drow@mvista.com
Wed Feb 19 14:14:00 GMT 2003


On Wed, Feb 19, 2003 at 10:44:58PM +1100, Antony Suter wrote:
> On Tue, 2003-02-18 at 20:53, Jakub Jelinek wrote:
> > On Tue, Feb 18, 2003 at 08:38:21PM +1100, Antony Suter wrote:
> > > 
> > > If there is a more appropriate place to discuss prelink, please let me
> > > know.
> > > 
> > > I am trying out prelink, however on some binaries it will fall into an
> > > infinite recursive loop pattern. It is a two step cycle of prelink_ent()
> > > in doit.c at line 58. For eg. the two libraries that keep checking each
> > > other are /usr/lib/libgpm.so.1 and /lib/libncurses.so.5
> > > 
> > > Doesn't prelink normally cater for this type of situation?
> > 
> > Do you mean that libgpm.so.1 has DT_NEEDED libncurses.so.5 and
> > libncurses.so.5 has DT_NEEDED libgpm.so.1?
> 
> Yes. These were both built around Sept. 2002 to a 2.2.5 version glibc,
> which is standard Mandrake 9.

This is an unfortunate thing.  GPM requires curses (not sure why
offhand); but you can build ncurses with support for mouse input using
libgpm.

The circularity is why I've avoided doing this for Debian :)

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list