Hi,
> ---------------------------------------
> gcc -c -fPIC Hello.c -o Hello.o
> ld -shared -o libHello.so Hello.o
> ---------------------------------------
> According to my knowledge about linux, whenever JVM call
> "System.loadLibray("Hello")" function, it will search for the library (which
> we created "libHello.so") in the "/usr/lib" or "/lib" directory. I copied
> the library file "libHello.so" to the "/usr/lib" and "/lib" directory. But
> whenever i run the my Hello.class program using kaffe, i am getting
> following error.
How is the setting of the LD_LIBRARAY_PATH ?
Please add the directory where you placed the libHello.so.
regards
dirk
--
Novedia AG, Dirk Höpfner
Hardenbergstrasse 19 tel:+49.30.311889-55 fax:+49.30.311889-19
D-10623 Berlin, Germany mailto:[EMAIL PROTECTED]
http://novedia.de/