This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

library "libGLES_mali.so" not found when running arm_compute_benchmark

Hi,

I'm trying to run arm_compute_benchmark on an Android phone with mali GPU supported, follow the steps provided in https://arm-software.github.io/ComputeLibrary/latest/tests.xhtml#writing_tests.

But get following error:

WARNING: linker: /data/local/tmp/arm_compute_benchmark: unsupported flags DT_FLAGS_1=0x8000000
Can't load libGLES_mali.so: dlopen failed: library "libGLES_mali.so" not found
Can't load libmali.so: dlopen failed: library "libmali.so" not found
Couldn't find any OpenCL library.
terminating with uncaught exception of type cl::Error: empty
Aborted 

I tried following solutions:

1. Move /vendor/lib64/egl/libGLES_mali.so to current folder(/data/local/tmp/), create a symbol link for libmali.so;

2. Rebuild Compute library and arm NN without openCL;

But it still doesn't work, shows the same error message.

By the way, the UnitTest of ARM NN works fine, without error.

I think both of them(arm_compute_benchmark and ARM NN unit test) depended with  libGLES_mali.so, but the result shows different.

Parents Reply Children
No data