On Tue, Jun 22, 2010 at 01:36:16PM +0200, Marc Kleine-Budde wrote:
> Alexander Stein wrote:
> > Is the libstdbuf.so from coreutils really used in some applets? The first 
> > install_copy in coreutils.targetinstall is to install this library to 
> > /usr/lib/coreutils/libstdbuf.so
> > It seems to me, that no coreutils applet link itself to libstdbuf.so. I ran 
> > the following command from the packages/coreutils-8.2 directory where all 
> > applets should be installed.
> >> # find . -type f -perm -1 | xargs readelf -a | grep NEEDED | sort | uniq
> >> 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
> >> 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
> >> 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
> >> 0x00000001 (NEEDED)                     Shared library: [librt.so.1]
> > 
> > In my opinion, this should be removed at all.
> 
> what about dynamic loading via dlopen()?

it is used by stdbuf as a LD_PRELOAD library. The correct fix would be to
use "ifdef PTXCONF_COREUTILS_STDBUF"

mol

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to