You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenBLAS does not export xerbla_, causing undefined reference when linking ScaLAPACK #6219
I have encountered a linking issue when using a custom-compiled OpenBLAS installation together with ScaLAPACK 2.2.3.
The linker reports the following error:
/usr/bin/x86_64-linux-gnu-ld.bfd: ../../lib/libscalapack.so.2.2.3: undefined reference to `xerbla_'
After inspecting the exported symbols in my OpenBLAS shared library, I found the following:
000000000027e570 t xerbla_
0000000000a3c270 T xerbla_array_
The xerbla_ symbol appears as a local symbol (t), whereas xerbla_array_ is exported (T). Consequently, ScaLAPACK cannot resolve the external reference to xerbla_ during linking.
Oops, sorry, seems this got overlooked when default symbol visibility was changed to hidden in #5577 (shortly after the last release). Should be fixed by #6220 now.
Activity
martin-frbg commentedon Nov 3, 2026
Oops, sorry, seems this got overlooked when default symbol visibility was changed to hidden in #5577 (shortly after the last release). Should be fixed by #6220 now.