stack missing deps
Closed this issue · 2 comments
KiaraGrouwstra commented
this is a yay
-installed stack
.
$ stack init
stack: error while loading shared libraries: libHSfsnotify-0.3.0.1-7Iyw8902uvFRto4XeaNIA-ghc8.6.5.so: cannot open shared object file: No such file or directory
$ yay fsnotify
1 community/haskell-fsnotify 0.3.0.1-60 (60.7 KiB 305.0 KiB) (Installed)
Cross platform library for file change notification.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
warning: haskell-fsnotify-0.3.0.1-60 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) haskell-fsnotify-0.3.0.1-60
Total Installed Size: 0.30 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Running pre-transaction hooks...
(1/1) Unregistering Haskell modules...
:: Processing package changes...
(1/1) reinstalling haskell-fsnotify [######################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Registering Haskell modules...
$ stack init
stack: error while loading shared libraries: libHSfsnotify-0.3.0.1-7Iyw8902uvFRto4XeaNIA-ghc8.6.5.so: cannot open shared object file: No such file or directory
Is this about the haskell-fsnotify
version?
KiaraGrouwstra commented
work-around: I should try the Stack docker...
KiaraGrouwstra commented
works:
docker build -t stack https://raw.githubusercontent.com/commercialhaskell/stack/master/etc/dockerfiles/stack-build/lts-14.0/Dockerfile
docker run -ti -v $(pwd):/home/stackage stack bash -c "cd /home/stackage; stack"
I guess this bug also still affects Idris, but hey, maybe I can dockerize that too.