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-184.108.40.206/include/ -I /usr/lib/jvm/java-6-sun-220.127.116.11/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.