Closed yzh119 closed 2 years ago
Hi boolector developers,
I followed the instruction on README, and met the following linker error when building boolector from source on my desktop:
Consolidate compiler generated dependencies of target boolector [ 87%] Built target boolector Consolidate compiler generated dependencies of target boolector-bin [ 89%] Linking CXX executable ../bin/boolector /usr/bin/ld: cannot find -lstdc++ /usr/bin/ld: cannot find -lm /usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status
Any ideas on how to fix it?
Environment:
You either need to install the static components for your compiler (something like dnf install libstdc++-static glibc-static) or pass --shared to Boolector's configure script.
dnf install libstdc++-static glibc-static
--shared
That works, @aytey thank you!
Hi boolector developers,
I followed the instruction on README, and met the following linker error when building boolector from source on my desktop:
Any ideas on how to fix it?
Environment: