Hi, Mike,

Thanks for your interest in our work.  There was a problem in
detecting whether you javac could be used safely in configure.ac.
This problem should be fixed in the code from the SVN archive.  Would
you mind check out the source code with

svn checkout https://codeforge.lbl.gov/anonscm/fastbit

and give it another try.

One thing to watch for is that when you run configure script (for
example, through runconf), you will notice something like

checking for jni.h... yes

If you don't see this like, it means that the configure script has not
figured out how to deal with JNI stuff on your system.  In which case,
you might tell it where to find you JDK installation by giving the
following option to the configure script

--with-java=path-to-jdk

Hope this helps.

John




On 7/18/14 6:50 AM, Mike Carter wrote:
> 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
> 
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to