<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Allan, here the output from this, SANE_DEBUG_DLL=4 xsane 2>dll.log<br>
I looked at it quickly and it is not looking at the
"/usr/local/lib/sane" even after executing ldconfig.<br>
The same either as root or normal user.<br>
Thanks, Martin<br>
<br>
m. allan noah wrote:
<blockquote
cite="mid:97246d0e0803200553y755c15b0m68b2eed8e723e3f9@mail.gmail.com"
type="cite">
<pre wrap="">SANE_DEBUG_DLL=4 xsane 2>dll.log
dll.log should show which libraries it is loading.
allan
On 3/20/08, Martin <a class="moz-txt-link-rfc2396E" href="mailto:martinh@ix.netcom.com"><martinh@ix.netcom.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> I tried $ ldconfig
but still getting "invalid argument" error.
Thanks for taking the time to help resolve this for me.
I'm open to more ideas, thanks.
Martin
m. allan noah wrote:
try /usr/local/lib instead. and you might have to run ldconfig afterwards
allan
On 3/20/08, Martin <a class="moz-txt-link-rfc2396E" href="mailto:martinh@ix.netcom.com"><martinh@ix.netcom.com></a> wrote:
I changed the file /etc/ld.so.conf , to look at "/usr/local/lib/sane"
/usr/kerberos/lib
/usr/X11R6/lib
/usr/local/lib/sane
/usr/lib/qt-3.1/lib
but the command $ xsane gt68xx:/dev/usb/scanner0
still errors out with >> "Failed to open device
gt68xx:/dev/usb/scanner0: Invalid argument."
m. allan noah wrote:
> i bet xsane is using the system copy, and scanimage is using the
> replacement. redhat does not put /usr/local/lib in /etc/ld.so.conf. so
> either do that, or even better, reconfigure to overwrite the old copy,
> and reinstall.
>
> allan
>
> On 3/19/08, Martin <a class="moz-txt-link-rfc2396E" href="mailto:martinh@ix.netcom.com"><martinh@ix.netcom.com></a> wrote:
>
>> Yes, I have,
>> /usr/lib/sane/
>> and
>> /usr/local/lib/sane/ <this being the most recently installed Mar 17
2008>
>>
>>
On 3/19/08, Martin <a class="moz-txt-link-rfc2396E" href="mailto:martinh@ix.netcom.com"><martinh@ix.netcom.com></a> wrote:
>>
>> I tried , SANE_DEBUG_GT68XX=4 xsane 2> mt1200.log
>> But it does not produce any output.
>> Do I need to ./configure something with the debug switch enabled?
>>
>> The version of xsane I have is - could this be a problem?
>> --------------------------------------
>> $ xsane --version
>> xsane-0.89 (c) 1998-2002 Oliver Rauch
>> Email: <a class="moz-txt-link-abbreviated" href="mailto:Oliver.Rauch@xsane.org">Oliver.Rauch@xsane.org</a>
>> package xsane-0.89
>> compiled with GTK-2.2.0
>> without GIMP support
>> --------------------------------------
>> Thanks.
>>
>>
On Tue, Mar 18, 2008 at 11:44 PM, Martin <a class="moz-txt-link-rfc2396E" href="mailto:martinh@ix.netcom.com"><martinh@ix.netcom.com></a> wrote:
>>
>> >>
>> >> Hello,
>> >> I can get my mustek 1200 scanner working using,
>> >>
>> >> As a normal user I can scan it:
>> >> $ /usr/local/bin/scanimage
>> --device-name=gt68xx:/dev/usb/scanner0 --mode
>> >> Color --resolution 600 > aaa.pnm
>> >>
>> >> I can open up the file in Gimp and save it as aaa.jpg file format:
>> >> $ gimp aaa.pnm
>> >>
>> >> But...
>> >> when trying to execute the xsane command,
>> >>
>> >> $ xsane gt68xx:/dev/usb/scanner0
>> >> or
>> >> $ xsane
>> >>
>> >> I get error message, >> Failed to open device
gt68xx:/dev/usb/scanner0:
>> >> Invalid argument.
>> >>
>> >> Any ideas would be greatly appreciated, thanks.
>> >>
>>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>