Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 12:27:42 -0500
From:      Mike Meyer <mwm-dated-1020187662.12a903@mired.org>
To:        Miguel Mendez <flynn@energyhq.homeip.net>
Cc:        Edwin Groothuis <edwin@mavetju.org>, freebsd-hackers@freebsd.org
Subject:   Re: missing libraries, and how to find them.
Message-ID:  <15560.15502.213147.169455@guru.mired.org>
In-Reply-To: <20020425140244.A77165@energyhq.homeip.net>
References:  <20020425210202.A49377@k7.mavetju.org> <20020425140244.A77165@energyhq.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20020425140244.A77165@energyhq.homeip.net>, Miguel Mendez <flynn@energyhq.homeip.net> typed:
> For what is worth, that can be easily replicated with a simple shell
> script:
> 
> kajsa% for i in `ldd /usr/X11R6/bin/xmms|grep -v :|awk '{ print $3}'`;
> do ldd $i;done
> /usr/lib/libc_r.so.5:
> /usr/X11R6/lib/libSM.so.6:
> 	libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28129000)
> /usr/X11R6/lib/libICE.so.6:
> /usr/X11R6/lib/libxmms.so.3:
> 	libgtk12.so.2 => /usr/X11R6/lib/libgtk12.so.2 (0x2812b000)
> 	libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x2825a000)
> [...]
> Anyway, a nice patch I hope will be commited soon.

As I stated just a minute ago, my version of that was committed a
while ago, and will hopefully be MFC's soon.

But your script doesn't do the same thing. It only tells you what
libraries the libraries your command includes. It doesn't go to the
third third - or further - levels if required.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15560.15502.213147.169455>