kopia lustrzana https://gitlab.com/sane-project/website
147 wiersze
5.9 KiB
HTML
147 wiersze
5.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: strange library prob with sane (+xsane)</TITLE>
|
|
<META NAME="Author" CONTENT="Jason Nicholls (jason@mindsocket.com.au)">
|
|
<META NAME="Subject" CONTENT="strange library prob with sane (+xsane)">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>strange library prob with sane (+xsane)</H1>
|
|
<!-- received="Fri Aug 25 11:15:43 2000" -->
|
|
<!-- isoreceived="20000825181543" -->
|
|
<!-- sent="Sat, 26 Aug 2000 02:23:11 +0800" -->
|
|
<!-- isosent="20000825182311" -->
|
|
<!-- name="Jason Nicholls" -->
|
|
<!-- email="jason@mindsocket.com.au" -->
|
|
<!-- subject="strange library prob with sane (+xsane)" -->
|
|
<!-- id="20000826022311.T2982@nikita.mindsocket.com.au" -->
|
|
<STRONG>From:</STRONG> Jason Nicholls (<A HREF="mailto:jason@mindsocket.com.au?Subject=Re:%20strange%20library%20prob%20with%20sane%20(%2Bxsane)&In-Reply-To=<20000826022311.T2982@nikita.mindsocket.com.au>"><EM>jason@mindsocket.com.au</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Fri Aug 25 2000 - 11:23:11 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0226.html">Henning Meier-Geinitz: "Re: Mustek SP12000pro Problem"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0224.html">William H Bouterse: "I/O error ?"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0229.html">Oliver Rauch: "Re: strange library prob with sane (+xsane)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0229.html">Oliver Rauch: "Re: strange library prob with sane (+xsane)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#225">[ date ]</A>
|
|
<A HREF="index.html#225">[ thread ]</A>
|
|
<A HREF="subject.html#225">[ subject ]</A>
|
|
<A HREF="author.html#225">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
G'day,
|
|
<BR>
|
|
<P>I recently downloaded the source for sane 1.0.3 and xsane 0.61. There wasn't
|
|
<BR>
|
|
any problems with compilation of either, and sane + it's utils work
|
|
<BR>
|
|
fine (like scanimage). The problem comes when I tried to use xsane and it
|
|
<BR>
|
|
couldn't find any devices (this isn't an xsane prob though, read on).
|
|
<BR>
|
|
<P>After a long time trying to work out what was wrong I traced it to the
|
|
<BR>
|
|
following:
|
|
<BR>
|
|
<P> - sane utils were first finding the sane libraries in
|
|
<BR>
|
|
/usr/local/lib (all sym links into /usr/local/lib/sane)
|
|
<BR>
|
|
<P> - xsane utils were first finding the same libraries in
|
|
<BR>
|
|
/usr/local/lib/sane
|
|
<BR>
|
|
<P>That all sounds pretty great, but the problem was the sym links in
|
|
<BR>
|
|
/usr/local/lib/sane were not quite correct.
|
|
<BR>
|
|
<P>Rather than have "libsane.so.1" pointing to "libsane-dll.so.1" it was pointing
|
|
<BR>
|
|
to "libsane-v4l.so.1". So whenever xsane was starting it would immediately use
|
|
<BR>
|
|
the v4l backend and not find any devices (cause I'm using a umax scanner and
|
|
<BR>
|
|
the umax backend).
|
|
<BR>
|
|
<P>Ok, I've found the problem and simply fix the broken sym link, yes? Well
|
|
<BR>
|
|
that's what I do but next time ldconfig is run it removes and sets up a
|
|
<BR>
|
|
broken link again.
|
|
<BR>
|
|
<P>So what I want to know is why this is happening and whether this is my fault
|
|
<BR>
|
|
or ldconfig, or something todo with sane (not xsane).
|
|
<BR>
|
|
<P><P>BTW, this wasn't a problem when using the previous release of sane (1.0.2) and
|
|
<BR>
|
|
xsane. I don't know whether this was because the older xsane looked in
|
|
<BR>
|
|
/usr/local/lib (rather than in the sane sub-dir) or whether the links were
|
|
<BR>
|
|
correct.
|
|
<BR>
|
|
<P>I'm pretty sure I can recompile xsane to use the /usr/local/lib dir in the
|
|
<BR>
|
|
future but that doesn't solve the problem - it's just ignoring it ;)
|
|
<BR>
|
|
<P><P>Some system information:
|
|
<BR>
|
|
<P>Redhat 6.1, glibc 2.1.2, egcs 2.91.66 (egcs-1.1.2 release)
|
|
<BR>
|
|
using a umax Astra 1220S and an adaptec 29?? (future domain SCSI 2)
|
|
<BR>
|
|
<P><P>Later,
|
|
<BR>
|
|
<P>Jason Nicholls
|
|
<BR>
|
|
--------------------------------------------------------------------
|
|
<BR>
|
|
Jason Nicholls icq: 11745841 email: <<A HREF="mailto:jason@mindsocket.com.au?Subject=Re:%20strange%20library%20prob%20with%20sane%20(%2Bxsane)&In-Reply-To=<20000826022311.T2982@nikita.mindsocket.com.au>">jason@mindsocket.com.au</A>>
|
|
<BR>
|
|
Proprietor mobile: 0417 410 811
|
|
<BR>
|
|
Mind Socket [web services] <A HREF="http://www.mindsocket.com.au/">http://www.mindsocket.com.au/</A>
|
|
<BR>
|
|
--------------------------------------------------------------------
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20strange%20library%20prob%20with%20sane%20(%2Bxsane)&In-Reply-To=<20000826022311.T2982@nikita.mindsocket.com.au>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0226.html">Henning Meier-Geinitz: "Re: Mustek SP12000pro Problem"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0224.html">William H Bouterse: "I/O error ?"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0229.html">Oliver Rauch: "Re: strange library prob with sane (+xsane)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0229.html">Oliver Rauch: "Re: strange library prob with sane (+xsane)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#225">[ date ]</A>
|
|
<A HREF="index.html#225">[ thread ]</A>
|
|
<A HREF="subject.html#225">[ subject ]</A>
|
|
<A HREF="author.html#225">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Fri Aug 25 2000 - 11:16:59 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|