[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#615476: general: many binaries are linked with non-existent libtiff.so.3 library

> It is a good reason to think about Debian's (or GNU/Linux) usability and
> ways to increase it.
> It all was about installing software system-wide by administrator.

Well, putting /usr/local/lib in the default library search path, and
upstream software using /usr/local/lib by default, are no coincidence.
The point is that if you build a binary on your own, and it needs to
use a library you also built on your own, it is quite nice that you
don't have to provide an explicit library search path (RPATH inside the
binary, or LD_LIBRARY_PATH variable at runtime).

Unfortunately (from your perspective) there is not a way to configure a
default library search path differently for binaries in different
places.  So if you want /usr/local/bin binaries to see /usr/local/lib
by default (that's what Debian and other Linux systems do, on purpose),
then all your system binaries will see them too.  Anyway, it's not a
bug or even really a design flaw (IMO).
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/

Reply to: