If you’re getting this error when you’re trying to build bitcoind from source it usually means you didn’t have libtool when you ran autogen.sh
Install libtool for your distribution and re-run autogen.sh, this should fix it.
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
./configure: line 2848: syntax error near unexpected token `disable-shared’
./configure: line 2848: `LT_INIT(disable-shared)’