[kaffe] Problem with JNI...
Clemens Fuchslocher
clfuit00 at fht-esslingen.de
Tue Jun 4 11:21:08 PDT 2002
On Tue, 4 Jun 2002, Martin Edlund wrote:
> I have a slight problem with newer CVS versions of kaffe and JNI (both
> 1.06 and 1.07-rc1).
[...]
> It keeps complaining that it cannot find the shared library I
> have created. I have set CLASSPATH as well as LD_LIBRARY_PATH to point
> to '.' in order to find the libraries and classes in the current dir,
> and also to the directories where kaffes libraries/classes are installed
Have you also created a pseudo *.la libtool file for your *.so?
-=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-=
zero:~$ export LD_LIBRARY_PATH=.
zero:~$ strace kaffe Test 2>&1 | grep "\.la.*ENOENT"
open("./libtest.la", O_RDONLY) = -1 ENOENT (No such file or directory)
zero:~$ touch libtest.la
zero:~$ strace kaffe Test 2>&1 | grep "\.la.*ENOENT"
zero:~$
-=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-=
'GNU Libtool - The GNU Portable Library Tool'
<http://www.gnu.org/software/libtool/>
HTH
--
More information about the kaffe
mailing list