[sane-devel] Epson 1640SU, no devices found, RH 8.0
Tim Waugh
twaugh at redhat.com
Mon Dec 15 22:00:10 GMT 2003
Oliver,
See my previous email, in which I explained the situation. There are
some errors in your text, which I'll correct:
On Mon, Dec 15, 2003 at 08:28:56PM +0100, Oliver Rauch wrote:
> The problem is that in redhat 9.0 there is listed /usr/lib/sane in
> /etc/ld.so.conf
> the second problem is that there is a link /usr/lib/sane/libsane.so.1 to
> a libsane library in the same directory. (this makes ldconfig changing the
> link).
ldconfig will create links for sonames when they are missing.
> There also is a copy of a libsane.so.1 library in /usr/lib but this
> seems not to be used ( I think /usr/lib/sane is searched before /usr/lib ),
It is used, of course, as ldd will tell you. However, the search
order that glibc uses recently changed.
> It is a buggy configuration in redhat 9.0 and this also causes
> problems when the rpm is uninstalled and sane-backends is
> installed from source with -prefix=/usr because the entry /usr/lib/sane
> is not removed from /etc/ld.so.conf when the sane-backends rpm
> is uninstalled.
Did you test this? I believe it to be incorrect, and I think that the
entry is removed.
In any case, I already explained that future sane-backends packages
will omit the ld.so.conf tampering. In fact, the current development
Fedora package has this removed right now.
At present there is a sane-backends package in the works which undoes
the hacky (IMHO) libsane.so.1-force in ltmain.sh. I understand that
your preferred solution would be to remove the incorrect ld.so.conf
tampering; however starting with new fixed packages at this stage
would only delay things, while the difference between the two fixes is
quite minimal and will be largely unnoticed. At this stage I'd rather
get SANE working again on Red Hat Linux systems.
Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20031215/2b3684b0/attachment.sig>
More information about the sane-devel
mailing list