GSL: nm outputs “undefined Symbol (U)”

2019-09-13 18:14发布

问题:

I cross compiled gsl fro android using arm-linux-androideabi. When I dynamically loaded this library in android-studio, it gave me error.

can not locate symbol cblas_sdsdot.

I ran nm command on gsl and got

U cblas_sdsdot

Then I ran nm command on gslcblas and got

000002645 T cblas_sdsdot.

I also loaded gslcblas.so before gsl.so but still I am getting the error. Any suggestion to get rid of this problem? Thanks