sane-project-website/old-archive/1999-06/0176.html

127 wiersze
5.7 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Thu Jun 24 10:51:12 1999 PDT" -->
<!-- sent="Thu, 24 Jun 1999 19:42:20 +0200" -->
<!-- name="Peter Kirchgessner" -->
<!-- email="peter@kirchgessner.net" -->
<!-- subject="Re: Segmentation Fault" -->
<!-- id="" -->
<!-- inreplyto="Segmentation Fault" -->
<title>sane-devel: Re: Segmentation Fault</title>
<h1>Re: Segmentation Fault</h1>
<b>Peter Kirchgessner</b> (<a href="mailto:peter@kirchgessner.net"><i>peter@kirchgessner.net</i></a>)<br>
<i>Thu, 24 Jun 1999 19:42:20 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#176">[ date ]</a><a href="index.html#176">[ thread ]</a><a href="subject.html#176">[ subject ]</a><a href="author.html#176">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0177.html">Meino Christian Cramer: "myterious success problem..."</a>
<li> <b>Previous message:</b> <a href="0175.html">Steve Springett: "Re: Segmentation Fault"</a>
<li> <b>Maybe in reply to:</b> <a href="0139.html">Steve Springett: "Segmentation Fault"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi Steve,<br>
<p>
you can try to tell the loader where to find the library by<br>
<p>
1.: export LD_LIBRARY_PATH=/usr/X11R6/lib/gnulibc1<br>
<p>
or<br>
<p>
2.: Add /usr/X11R6/lib/gnulibc1 to the file /etc/ld.so.conf and run<br>
command ldconfig<br>
<p>
Now (hopefully) the program starts.<br>
<p>
--Peter<br>
<p>
Steve Springett wrote:<br>
<i>&gt; </i><br>
<i>&gt; Thanks for the reply. Here is everything the command give me.</i><br>
<i>&gt; </i><br>
<i>&gt; xscanimage: error in loading shared libraries: libglib.so.1: cannot open shared object file: No such file or directory</i><br>
<i>&gt; </i><br>
<i>&gt; I checked, and this file is located at /usr/X11R6/lib/gnulibc1/libglib.so.1</i><br>
<i>&gt; </i><br>
<i>&gt; Seems it's a symlink to libglib.so.1.0.5</i><br>
<i>&gt; </i><br>
<i>&gt; Any ideas why I'm getting this message and how to get (x)scanimage to work properly.</i><br>
<i>&gt; </i><br>
<i>&gt; Again, I see my scanner using find-scanner.</i><br>
<i>&gt; </i><br>
<i>&gt; Thanks in advance.</i><br>
<i>&gt; </i><br>
<i>&gt; -- Steve Springett</i><br>
<i>&gt; </i><br>
<i>&gt; &lt;&lt;&lt; Peter Kirchgessner &lt;<a href="mailto:peter@kirchgessner.net">peter@kirchgessner.net</a>&gt; 6/22 4:31p &gt;&gt;&gt;</i><br>
<i>&gt; Hi,</i><br>
<i>&gt; </i><br>
<i>&gt; from bash try</i><br>
<i>&gt; </i><br>
<i>&gt; export SANE_DEBUG_HP=128</i><br>
<i>&gt; export SANE_DEBUG_SANEI_SCSI=128</i><br>
<i>&gt; </i><br>
<i>&gt; and run</i><br>
<i>&gt; </i><br>
<i>&gt; xscanimage hp &gt; out.txt 2&gt;&amp;1</i><br>
<i>&gt; </i><br>
<i>&gt; Send the file out.txt back, maybe gzipped if it is too large.</i><br>
<i>&gt; </i><br>
<i>&gt; --Peter</i><br>
<i>&gt; </i><br>
<i>&gt; Steve Springett wrote:</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; I have just downloaded and compiled the source for sane 1.01 on Caldera OpenLinux 2.2. If I try to run ./find-scanner , it returns three devices like it should. Here are the results:</i><br>
<i>&gt; &gt; "HP C2520A 3503" at /dev/scanner</i><br>
<i>&gt; &gt; "HP C2520A 3503" at /dev/sg2</i><br>
<i>&gt; &gt; "HP C2520A 3503" at /dec/sgc</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; The problem is that whenever I try to run scanimage, I get a segmentation fault. Even trying to use the --list-devices, I get this error.</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; I've got an Adaptec 2940 conntect to a HP 4C scanner. I know this setup works because I had WinNT on this same machine a couple of days ago before I had enough BSOD's and formatted my drive and installed Linux.</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; I'm not sure what other types of information you need, but any assistance would be greatly appreciated.</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; -- Steve Springett</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; --</i><br>
<i>&gt; &gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; &gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<i>&gt; </i><br>
<i>&gt; --</i><br>
<i>&gt; Peter Kirchgessner</i><br>
<i>&gt; WWW: <a href="http://www.kirchgessner.net">http://www.kirchgessner.net</a></i><br>
<i>&gt; e-mail: <a href="mailto:peter@kirchgessner.net">peter@kirchgessner.net</a></i><br>
<i>&gt; </i><br>
<i>&gt; --</i><br>
<i>&gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<i>&gt; </i><br>
<i>&gt; --</i><br>
<i>&gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<p>
<pre>
--
Peter Kirchgessner
WWW: <a href="http://www.kirchgessner.net">http://www.kirchgessner.net</a>
e-mail: <a href="mailto:peter@kirchgessner.net">peter@kirchgessner.net</a>
<p>
<p>
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0177.html">Meino Christian Cramer: "myterious success problem..."</a>
<li> <b>Previous message:</b> <a href="0175.html">Steve Springett: "Re: Segmentation Fault"</a>
<li> <b>Maybe in reply to:</b> <a href="0139.html">Steve Springett: "Segmentation Fault"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>