I'm trying to run cmake on a Raspberry Pi 3 running Raspbian Jessie, following this guide.
After installing cmake
by running sudo apt-get install cmake
, I get the following error when typing cmake
at the command line:
cmake: cmake: no version information available (required by cmake)
this is repeated a dozen times or so, and concluded by:
cmake: relocation error: cmake: symbol, version GLIBC_2.4 not defined in file with link time reference
I checked that I have only 1 version of cmake installed: which cmake
returns /usr/bin/cmake
, and the /usr/bin
folder only has 1 cmake
file in it. Running /usr/bin/cmake
explicitly results in the same errors with cmake
replaced by /usr/bin/cmake
. Could anyone advise on what might be going on and how to fix it? Thank you.
I confirm that the problem cannot be replicated on a different SD card. I conclude that the error was possibly due to corrupted data on a bad SD card. From what I've seen, here are some things to look for that might indicate a bad SD card:
Finally, I would suggest steering clear of generic SD cards, the one that didn't work for me was one of that variety.