Re: Native library problem

1999-08-31 Thread Sheng-Yih Wang
Try the method load() with the absolute path, like System.load("/home/my/path/MyNativeLibrary.so"); I think this is a problem a lot of people experienced. Somebody just ask this question 3 days ago. See my earlier reply to this mailing list. Sheng-Yih. - Original Message - From: Dimitri

RE: Native library problem

1999-08-31 Thread Dimitris Terzis
Hi... > The beginning of the name also matters. That call will expect to load a > library named "libtest_lib.so". Other requirements: build the sources > with the "-fpic" flag, and link the library with the "-shared" flag. Thanks! About 5 minutes ago, I tried the lib prefix and it worked (I mean

Re: Native library problem

1999-08-31 Thread Sheng-Yih Wang
Try the method load() with the absolute path, like System.load("/home/my/path/MyNativeLibrary.so"); I think this is a problem a lot of people experienced. Somebody just ask this question 3 days ago. See my earlier reply to this mailing list. Sheng-Yih. - Original Message - From: Dimitri

Re: Native library problem

1999-08-31 Thread Nathan Meyers
Dimitris Terzis wrote: > > Hi guys... > > Someone give a hint please, because I 'm next to madness and I don't want to > break my machine... I have a very-very simple native library, say test_lib, > which I try to load with System.loadLibrary("test_lib"). The £$^£@& compiler > insists that it's