This content has been marked as final. Show 2 replies
Are you sure the sqllite shared library is being loaded? Where have you included it in the command line?
Yes, as you have noticed I have not include that in the command line. But, I have also tried the following command:
gcc -o libDbNativeInterface.so -shared -Wl,-soname,DbNativeInterface.so -I /usr/lib/jvm/java-6-sun-126.96.36.199/include/ -I /usr/lib/jvm/java-6-sun-188.8.131.52/include/linux/ -I /home/user/VW_Sqlite_Test/SQLite/inc/ DbOperation.c -L /home/user/VW_Sqlite_Test/SqliteDynamicLib/libsqlitejdbc.so
I don't know if I'm doing right. Please correct me.