Is there a way to determine that a .a or .so library has been compiled as position indepenent code?

I am getting a linking error when compiling the numpy library against lapack indicating I need to compile lapack with -fPIC. I thought I had done just that. Is there a way to determine that the produced lapack library is position independent?

21
задан Ciro Santilli 新疆改造中心法轮功六四事件 26 October 2017 в 05:25
поделиться