kopia lustrzana https://gitlab.com/sane-project/website
92 wiersze
4.1 KiB
HTML
92 wiersze
4.1 KiB
HTML
<!-- received="Thu Feb 18 10:18:02 1999 PST" -->
|
||
<!-- sent="Thu, 18 Feb 1999 13:16:46 -0500" -->
|
||
<!-- name="Jeff Evarts" -->
|
||
<!-- email="jdeassoc@earthlink.net" -->
|
||
<!-- subject="Shared library problems (Was: No devices?)" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="" -->
|
||
<title>sane-devel: Shared library problems (Was: No devices?)</title>
|
||
<h1>Shared library problems (Was: No devices?)</h1>
|
||
<b>Jeff Evarts</b> (<a href="mailto:jdeassoc@earthlink.net"><i>jdeassoc@earthlink.net</i></a>)<br>
|
||
<i>Thu, 18 Feb 1999 13:16:46 -0500</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#113">[ date ]</a><a href="index.html#113">[ thread ]</a><a href="subject.html#113">[ subject ]</a><a href="author.html#113">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0114.html">Christopher W. Curtis: "Re: Microtek - Scanner and SCSI - Emulation over EPP"</a>
|
||
<li> <b>Previous message:</b> <a href="0112.html">Joachim Kunze: "Re: Microtek - Scanner and SCSI - Emulation over EPP"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0118.html">Oliver Rauch: "Re: Shared library problems (Was: No devices?)"</a>
|
||
<li> <b>Reply:</b> <a href="0118.html">Oliver Rauch: "Re: Shared library problems (Was: No devices?)"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
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(&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="0114.html">Christopher W. Curtis: "Re: Microtek - Scanner and SCSI - Emulation over EPP"</a>
|
||
<li> <b>Previous message:</b> <a href="0112.html">Joachim Kunze: "Re: Microtek - Scanner and SCSI - Emulation over EPP"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0118.html">Oliver Rauch: "Re: Shared library problems (Was: No devices?)"</a>
|
||
<li> <b>Reply:</b> <a href="0118.html">Oliver Rauch: "Re: Shared library problems (Was: No devices?)"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|