Bug 110419 - /usr/lib/sane/ inappropriately added to /etc/ld.so.conf
Summary: /usr/lib/sane/ inappropriately added to /etc/ld.so.conf
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sane-backends
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-19 13:59 UTC by Nick Lamb
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 1.0.12-6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-11-20 12:39:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nick Lamb 2003-11-19 13:59:12 UTC
On a fresh install of Fedora Core, the file /etc/ld.so.conf lists
/usr/lib/sane
as one of the search directories for shared libraries

This is wrong, the /usr/lib/sane directory contains only SANE
backends, not ordinary libraries. SANE's dll backend is capable of
determining for itself the location of these shared objects, which
could be thought of in this context as "plug-ins" akin to the XMMS
plug-ins, and many others which of course are not listed in
/etc/ld.so.conf

If this package (sane-backends) changes /etc/ld.so.conf then it should
be patched not to do so. If instead the change is a patch in Fedora's
glibc (the package which owns /etc/ld.so.conf itself) then please
re-assign this bug to the appropriate maintainer.

Comment 1 Tim Waugh 2003-11-19 14:02:48 UTC
It is added (by the sane-backends package) in order for the dlopen to
work.  The files that are dlopen'd are the *.so.1 symlinks, which are
put in place by ldconfig.

Comment 2 Nick Lamb 2003-11-19 17:52:27 UTC
Surely the correct incantation in that case is
ldconfig -n /usr/lib/sane
... rather than altering the system library config?

Comment 3 Tim Waugh 2003-11-20 12:39:27 UTC
Hmm, good point.  Try 1.0.12-6.


Note You need to log in before you can comment on or make changes to this bug.