I am working on an Ubuntu 16.04 system and trying to get cabal up and running.
I’ve installed ghcup successfully and then installed cabal using ghcup. However, when I try to execute cabal I get:
cabal: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by cabal)
So the system is too old for the cabal executable. OK, so I’m thinking that I will rebuild cabal to get an executable which works for this old system. (Is there another way to circumvent the GLIBC version error?)
However, in searching various resources, I cannot find any instructions about how to rebuild cabal. cabal/CONTRIBUTING.md at master · haskell/cabal · GitHub only says cabal build cabal
to build a new version; it doesn’t say how to get a working binary to start with. Did I overlook something there?
Are there any instructions about bootstrapping cabal? I have searched for a while now and I am empty-handed. I hope someone has some info about it.