Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile ghc in Ubuntu 20 LTS #20

Open
LodeVanB opened this issue Jan 29, 2021 · 0 comments
Open

Can't compile ghc in Ubuntu 20 LTS #20

LodeVanB opened this issue Jan 29, 2021 · 0 comments

Comments

@LodeVanB
Copy link

LodeVanB commented Jan 29, 2021

Linking /tmp/stack-8e5b199576f853c6/network-2.6.3.2/.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/setup/setup ...
/usr/bin/ld: cannot find -ltinfo
collect2: error: ld returned 1 exit status
gcc' failed in phase Linker'. (Exit code: 1)

.stack-work/install/x86_64-linux-tinfo6/lts-9.1/8.0.2/doc/haskell-gi-base-0.21.0 --haddockdir=/home/loderunner/movie-monad/.stack-work/install/x86_64-linux-tinfo6/lts-9.1/8.0.2/doc/haskell-gi-base-0.21.0 --dependency=base=base-4.9.1.0 --dependency=bytestring=bytestring-0.10.8.1 --dependency=containers=containers-0.5.7.1 --dependency=text=text-1.2.2.2-9UQZjEJZQFSGMffj1Z5g00
Process exited with code: ExitFailure 1
Logs have been written to: /home/loderunner/movie-monad/.stack-work/logs/haskell-gi-base-0.21.0.log

Configuring haskell-gi-base-0.21.0...
Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2: The pkg-config package 'gobject-2.0'
version >=2.32 is required but it could not be found.

stack exec -- movie-monad
Executable named movie-monad not found on path: ["/home/lxxxx/movie-monad/.stack-work/install/x86_64-linux-tinfo6/lts-9.1/8.0.2/bin","/home/lxxxx/.stack/snapshots/x86_64-linux-tinfo6/lts-9.1/8.0.2/bin","/home/lxxxx/.stack/compiler-tools/x86_64-linux-tinfo6/ghc-8.0.2/bin","/home/xxxx/.stack/programs/x86_64-linux/ghc-tinfo6-8.0.2/bin","/home/lxxxx/.local/bin","/usr/local/sbin","/usr/local/bin","/usr/sbin","/usr/bin","/sbin","/bin","/usr/games","/usr/local/games","/snap/bin"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant