kopia lustrzana https://gitlab.com/sane-project/website
73 wiersze
3.2 KiB
HTML
73 wiersze
3.2 KiB
HTML
<!-- received="Wed Dec 17 09:50:22 1997 PST" -->
|
||
<!-- sent="Wed, 17 Dec 1997 09:54:10 -0800" -->
|
||
<!-- name="Jeff Freedman" -->
|
||
<!-- email="jsf@hevanet.com" -->
|
||
<!-- subject="Re: jscanimage won't compile" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="jscanimage won't compile" -->
|
||
<title>sane-devel: Re: jscanimage won't compile</title>
|
||
<h1>Re: jscanimage won't compile</h1>
|
||
<b>Jeff Freedman</b> (<a href="mailto:jsf@hevanet.com"><i>jsf@hevanet.com</i></a>)<br>
|
||
<i>Wed, 17 Dec 1997 09:54:10 -0800</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#98">[ date ]</a><a href="index.html#98">[ thread ]</a><a href="subject.html#98">[ subject ]</a><a href="author.html#98">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0099.html">Matto Marjanovic: "another xscanimage patch..."</a>
|
||
<li> <b>Previous message:</b> <a href="0097.html">Jeff Freedman: "Re: jscanimage won't compile"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0080.html">Mathias Weigt: "jscanimage won't compile"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Allan Nielsen wrote:<br>
|
||
<i>> </i><br>
|
||
<i>> On Wed, 17 Dec 1997, Mathias Weigt (Stud. 94) wrote:</i><br>
|
||
<i>> </i><br>
|
||
<i>> > Ok I got swing-0.61 from java.sun.com.</i><br>
|
||
<i>> > Now all compiles cleanly but Jscanimage actually does nothing and Test</i><br>
|
||
<i>> > does nothing but printing the version numbers (but I think it should do a</i><br>
|
||
<i>> > little test-scan or at least list som devices ?).</i><br>
|
||
<i>> > Any ideas ?</i><br>
|
||
<i>> > Can I use SANE_DEBUGXXX to get more information ?</i><br>
|
||
<i>> ></i><br>
|
||
<i>> </i><br>
|
||
<i>> I get:</i><br>
|
||
<i>> </i><br>
|
||
<i>> [an@k2906 japi]# java Jscanimage</i><br>
|
||
<i>> File not found (libsanej.so)</i><br>
|
||
<i>> java.lang.UnsatisfiedLinkError: no sanej in shared library path</i><br>
|
||
<i>> at java.lang.Runtime.loadLibrary(Runtime.java)</i><br>
|
||
<i>> at java.lang.System.loadLibrary(System.java)</i><br>
|
||
<i>> at</i><br>
|
||
<i>> at Jscanimage.main(Jscanimage.java:99)</i><br>
|
||
<i>> </i><br>
|
||
<i>> I have made make; make install And it went ok! What is wrong??</i><br>
|
||
<p>
|
||
First check "/usr/local/lib" (or wherever you have the SANE libraries<br>
|
||
installed), to make sure that libsanej.so was actually installed there<br>
|
||
okay.<br>
|
||
<p>
|
||
Then, I think Java is picky about where it looks for shared libraries.<br>
|
||
Even though "/usr/local/lib" is okay for "C" programs, you might have to<br>
|
||
put it in LD_LIBRARY_PATH (i.e. setenv LD_LIBRARY_PATH /usr/local/lib)<br>
|
||
for Java to find it.<br>
|
||
<p>
|
||
-- Jeff<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">majordomo@mostang.com</a>
|
||
</pre>
|
||
<!-- body="end" -->
|
||
<p>
|
||
<ul>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0099.html">Matto Marjanovic: "another xscanimage patch..."</a>
|
||
<li> <b>Previous message:</b> <a href="0097.html">Jeff Freedman: "Re: jscanimage won't compile"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0080.html">Mathias Weigt: "jscanimage won't compile"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|