GNU bug report logs - #20437
ls links too many dynamic libraries

Previous Next

Package: coreutils;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 27 Apr 2015 05:31:02 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: bug-coreutils <at> gnu.org
Subject: ls links too many dynamic libraries
Date: Sun, 26 Apr 2015 22:30:16 -0700
[Message part 1 (text/plain, inline)]
Currently GNU 'ls' dynamically links a whole bunch of libraries, libraries like 
libpcre and liblzma.  Can we figure out some way to remove the runtime 
dependencies on these libraries?  It's better if a core utility like 'ls' avoids 
libthis and libthat unless the libraries are vital to its function, which these 
shouldn't be.

I installed the attached patches to get rid of one unnecessary library, libacl, 
on GNU/Linux.  Can we do better and get rid of more dependencies?  Perhaps using 
techniques similar to what was used to get rid of libacl?
[0001-build-update-gnulib-submodule-to-latest.patch (text/x-patch, attachment)]
[0002-ls-on-GNU-Linux-remove-dependency-on-libacl.patch (text/x-patch, attachment)]

This bug report was last modified 10 years and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.