Skip to content

Manual libnuma install required

Created by: lbordowitz

I ran the following commands:

$ ghcup install
$ ghcup set 8.4.4
$ ghcup install-cabal
$ cabal update

All of these commands executed successfully. However, I then ran this command, and got the following error:

$ cabal new-install cabal-install
...
Warning: Some package(s) failed to build. Try rerunning with -j1 if you can't
see the error.

Failed to build digest-0.0.1.2.
....
Configuring digest-0.0.1.2...
Preprocessing library for digest-0.0.1.2..
/usr/bin/ld.gold: error: cannot find -lnuma

After manually installing the library with apt install libnuma-devel, the cabal-install worked correctly. However, if I didn't know how to read complex error logs and understand what was missing, it would have taken a lot longer to figure out the problem.

$ uname -a
Linux [computer-name-here] 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information