Re: jscanimage won't compile

Allan Nielsen (an@kampsax.dtu.dk)
Wed, 17 Dec 1997 12:59:56 +0100 (MET)

On Wed, 17 Dec 1997, Mathias Weigt (Stud. 94) wrote:

> Servus !
>
> > [an@k2906 japi]# java Jscanimage
> > File not found (libsanej.so)
> > java.lang.UnsatisfiedLinkError: no sanej in shared library path
> > at java.lang.Runtime.loadLibrary(Runtime.java)
> > at java.lang.System.loadLibrary(System.java)
> > at
> > at Jscanimage.main(Jscanimage.java:99)
> >
> > I have made make; make install And it went ok! What is wrong??
>
> Try typing ldconfig to tell that there is a new library available, then
> it should work.
>
It still wont work. I've made a symlink from libsanej.so myself, but I get
this when trying to run ldconfig:

[root@k2906 lib]# /sbin/ldconfig -lv /usr/local/lib/libsanej.so
/sbin/ldconfig: version 1.7.14
/sbin/ldconfig: /usr/local/lib/libsanej.so is not a shared library

[root@k2906 lib]# /sbin/ldconfig -lv /usr/local/lib/libsanej.so.0.0.68
/sbin/ldconfig: version 1.7.14
libsanej.so.0 => libsanej.so.0.0.68

[root@k2906 lib]# ll libsanej*
-rw-rw-r-- 1 root root 31686 Dec 17 09:38 libsanej.a
-rwxr-xr-x 1 root root 421 Dec 17 09:38 libsanej.la
lrwxrwxrwx 1 root root 18 Dec 17 12:52 libsanej.so ->
libsanej.so.0.0.68
lrwxrwxrwx 1 root root 18 Dec 17 09:38 libsanej.so.0 ->
libsanej.so.0.0.68
-rwxr-xr-x 1 root root 34060 Dec 17 09:38 libsanej.so.0.0.68

Please help...

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com