java - Loading JNI crashes with undefined symbols -


i trying link native library java application when try run java.lang.unsatisfiedlinkerror exception complaining missing symbols(_ztvn10__cxxabiv117__class_type_infoe)

i compiled shared library g++ other shared library.

this first try jni , can't figure out how link correctly.

try relinking without -wl,-soname,liblzw_compressor.so option. if works can't tell why, other months ago had similar undefined symbol error (may have been same symbol) , ditching -wl option link line fixed it.


Comments