C++ code Module::LoadFromFile() In android failed


#1

I use “Cross Compile” to comile a tvm_runtime.so. Then I use it in android. I find When I run to this code:
tvm::runtime::Module::LoadFromFile("/sdcard/deploy_lib_cpu.so").
It is crached with " dlerror()".
Dose anyone have this problem in android?
Tthank you very much.


#2

This code lib_handle_ = dlopen(name.c_str(), RTLD_LAZY | RTLD_LOCAL); in dso_module.cc is wrong