sane-project-website/old-archive/1999-02/0120.html

121 wiersze
5.4 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 Feb 18 19:03:59 1999 PST" -->
<!-- sent="Thu, 18 Feb 1999 22:02:37 -0500" -->
<!-- name="Jeff Evarts" -->
<!-- email="jdeassoc@earthlink.net" -->
<!-- subject="Shared Library Problems? Oliver, William, and others reply" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: Shared Library Problems? Oliver, William, and others reply</title>
<h1>Shared Library Problems? Oliver, William, and others reply</h1>
<b>Jeff Evarts</b> (<a href="mailto:jdeassoc@earthlink.net"><i>jdeassoc@earthlink.net</i></a>)<br>
<i>Thu, 18 Feb 1999 22:02:37 -0500</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#120">[ date ]</a><a href="index.html#120">[ thread ]</a><a href="subject.html#120">[ subject ]</a><a href="author.html#120">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0121.html">Oliver Rauch: "Re: Shared Library Problems? Oliver, William, and others reply"</a>
<li> <b>Previous message:</b> <a href="0119.html">Oliver Rauch: "Re: xsane 0.11 available"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0121.html">Oliver Rauch: "Re: Shared Library Problems? Oliver, William, and others reply"</a>
<li> <b>Reply:</b> <a href="0121.html">Oliver Rauch: "Re: Shared Library Problems? Oliver, William, and others reply"</a>
<li> <b>Reply:</b> <a href="0126.html">William McVey: "Re: Shared Library Problems? Oliver, William, and others reply"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hello everyone.<br>
<p>
I've got a problem with my clients waking up and not<br>
finding any available devices. (find-scanner returns<br>
an empty list, scanimage --list-devices also finds none)<br>
<p>
William: You quoted the part where I said "THIS IS NOT A SYMLINK",<br>
and then suggested that I not use symbolic links. I'm not. I<br>
swear. I wouldn't lie. :-)<br>
<p>
Oliver: You said I had a very old version, and suggested that I<br>
reinstall. I have version 1.0.0, which was recent a few weeks<br>
ago. (This is Freshmeat's most recent version, and the version<br>
available for download at ftp.mostang.com) Is there a newer one?<br>
<p>
Two other people suggested it might be a permissions problem<br>
on the scanner. How much more open than 666 can it be? Does<br>
the scanner device use execute permission for something?<br>
<p>
DON'T GET ME WRONG... I appreciate the input. I know we need to<br>
eliminate the easy stuff before progressing, so *please* *help*,<br>
I'd really like to get this working!<br>
<p>
Here's a copy of the earlier query:<br>
<p>
===<br>
<p>
More data... when I build the system in the first place,<br>
with no special arguments to ./configure<br>
<p>
in /usr/local/lib, I have three libraries (symlinks)<br>
libsane.a libsane.so libsane.so.1<br>
<p>
in /usr/local/lib/sane, I have LOTS of libraries, including:<br>
libsane-umax.a libsane-umax.la<br>
<p>
Now when I run the client in the debugger, I get an error<br>
message...<br>
<p>
982 status=sane_get_devices(&amp;device_list,SANE_FALSE);<br>
(gdb) <br>
[dll] loading backend umax<br>
[dll] load: couldn't find /usr/local/lib/libsane-umax.so.1 (No such file<br>
or directory)<br>
[dll] loading backend net<br>
[dll] load: couldn't find /usr/local/lib/libsane-net.so.1 (No such file<br>
or directory)<br>
983 if (status != SANE_STATUS_GOOD)<br>
<p>
So, putting on my thinking cap, I decided I'd build a big<br>
version to start with, and did a ./configure --disable-shared,<br>
and did a "gmake clean all"<br>
<p>
Now I get:<br>
<p>
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include<br>
-I/usr/local/include -I/usr/X11R6/include -I/home/gtk/lib/glib/include<br>
-I/home/gtk/include -D_GNU_SOURCE<br>
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d <br>
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0<br>
-g -O2 -Wall scanimage.c<br>
gcc -o scanimage scanimage.o ../backend/.libs/libsane.a ../lib/liblib.a<br>
-ldl -ljpeg -lm<br>
abaton.c:573: Definition of symbol _mode_update (multiply defined)<br>
apple.c:1137: Definition of symbol _mode_update (multiply defined)<br>
dc210.c:1193: Undefined symbol _sanei_jpeg_jinit_write_ppm referenced<br>
from text segment<br>
gmake[1]: *** [scanimage] Error 1<br>
gmake[1]: Leaving directory `/var/tmp/sane-1.00/frontend'<br>
gmake: *** [all-recursive] Error 1<br>
<p>
<p>
Any ideas on how to proceed at this point?<br>
<pre>
--
-Jeff Evarts
<a href="mailto:--jdeassoc@earthlink.net">--jdeassoc@earthlink.net</a>
---<a href="http://www.ecst.csuchico.edu/~amarth/">http://www.ecst.csuchico.edu/~amarth/</a>
<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="0121.html">Oliver Rauch: "Re: Shared Library Problems? Oliver, William, and others reply"</a>
<li> <b>Previous message:</b> <a href="0119.html">Oliver Rauch: "Re: xsane 0.11 available"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0121.html">Oliver Rauch: "Re: Shared Library Problems? Oliver, William, and others reply"</a>
<li> <b>Reply:</b> <a href="0121.html">Oliver Rauch: "Re: Shared Library Problems? Oliver, William, and others reply"</a>
<li> <b>Reply:</b> <a href="0126.html">William McVey: "Re: Shared Library Problems? Oliver, William, and others reply"</a>
<!-- reply="end" -->
</ul>