building from git unresolved symbols libgomp
fresh git cloned repository. Compilation fails with the spurious error as in https://trac.sagemath.org/ticket/28513. Running ./sage
crashes with the error
ImportError: /home/user/sage/local/lib/liblinbox.so.0: undefined symbol: GOMP_loop_ull_maybe_nonmonotonic_runtime_next
But the symbols are there:
$ nm /usr/lib/libgomp.so | grep GOMP_loop_ull_maybe_
0000000000010070 T GOMP_loop_ull_maybe_nonmonotonic_runtime_next
000000000000f210 T GOMP_loop_ull_maybe_nonmonotonic_runtime_start
This is on Arch
$uname -a
Linux host 5.3.5-arch1-1-ARCH #1 SMP PREEMPT Mon Oct 7 19:03:08 UTC 2019 x86_64 GNU/Linux
$ gcc --version
gcc (GCC) 9.2.0
Could you copy/paste the full error log and not only the last error message?
Also, is your compiled linbox correctly linked to
/usr/lib/libgmp.so
? Seewon't have access to that box until Monday but my guess is that it was an incompatible version of gcc-fortran. I just compiled in a different computer running arch updated the same day and it went smoothly.
Indeed it was a broken gcc-fortran. I just reinstalled gcc and gcc-fortran and recompiled without trouble. I suppose this question can be closed? thanks.