Re: question about building libraty for JNI

2000-10-02 Thread Aaron Stromas
corection - i was setting the LD_LIBRARY_PATH to /usr/local/java/jre/lib/i386/ not /usr/local/java/jre/lib/i386/classic Aaron Stromas wrote: > Hello again, > > I managed to build my library using the the GNU linker > (ld -G -f /usr/lin/libdb.so -o libkeys.so) but another problem surfaced - I n

Re: question about building libraty for JNI

2000-10-02 Thread Aaron Stromas
Hello again, I managed to build my library using the the GNU linker (ld -G -f /usr/lin/libdb.so -o libkeys.so) but another problem surfaced - I now get java.lang.UnsatisfiedLinkError: /home/ams/work/keys/libkeys.so: undefined symbol: GetStringUTFChars I pass -Djava.library.path=/home/ams/work/k

Re: question about building libraty for JNI

2000-10-02 Thread Joi Ellis
"Aaron M. Stromas" wrote: > > greetings, > > I need a little assistance with building a shared library for JNI under > Linux 2.2. > This is how I went about creating the library: > > compiling: g++ -I /usr/local/java/include > -I/usr/local/java/include/linux -shared -fPIC -o keys.o keys.c > >