Hello everybody!
After installing Fastbit successfully on CentOS, I tried to run the milky
example by using the command [java milky ../tests/tmp/t1 "a>10 and c
between 50 and 70"].
[root@vm001 java]# java milky ../tests/tmp/t1 "a>10 and c between 50 and 70"
Exception in thread "main" java.lang.UnsatisfiedLinkError: no fastbitjni in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at gov.lbl.fastbit.FastBit.<clinit>(FastBit.java:188)
at milky.main(milky.java:69)
So I was looking for the file "libfastbitjni.so", but I couldn't find it.
It doesn't exist in the folder fastbit/src/.libs nor in the folder
/usr/local/lib (the java.library.path).
In the documentation I found the following command to produce the
libfastbitjni.so. I'm not sure how to use it to produce libfastbitjni.so.
Additionally, the libfastbitjni.so doesn't exist in the folder src/.libs,
which is a presumption to run this command.
gcc -O -shared -o libfastbitjni.so -Wl,-soname,libfastbitjni.so \
-I/export/home/jdk1.2/include \
-I/export/home/jdk1.2/include/linux FastBit.c \
..\src\libfastbit.lo -lm
Any hints and advices? What I am doing wrong? I unpacket
fastbit-ibis1.3.8.tar.gz and first I executed. Ibis and ardea works, but I
need to access fastbit through Java.
./configure
gmake -j 3 all
make install
Thank you!
Mike Carter
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users