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

error while loading shared libraries: libHSpath-0.9.2-9 #5875

Closed
killawat opened this issue Sep 21, 2022 · 9 comments
Closed

error while loading shared libraries: libHSpath-0.9.2-9 #5875

killawat opened this issue Sep 21, 2022 · 9 comments

Comments

@killawat
Copy link

killawat commented Sep 21, 2022

Doing anything with stack throws this error.

stack: error while loading shared libraries: libHSpath-0.9.2-9Ps66to43WaHvlFQJ4Gi5N-ghc9.0.2.so: cannot open shared object file: No such file or directory

haskell-path-0.9.2-74 is installed
Running on Arch

@mpilgrem
Copy link
Member

@killawat, any further information you can provide about the version of the Stack executable, how you obtained it, and your system would help in working out what is happening.

@killawat
Copy link
Author

Stack was installed with pacman on an Seeed Odyssey x86j4125. I removed the package and reinstalled it today in an attempt to resolve. I can not determine the version with stack --version as that throws the same trouble. Can you advise me on another way to get the version info for you?

@mpilgrem
Copy link
Member

I assume that it is Stack 2.7.5, based on this: https://archlinux.org/packages/community/x86_64/stack/. Although I note that states it links to libHSpath-0.9.2-DO7oflsFsnq7jhC0YStmqP-ghc9.0.2.so, so perhaps it is an earlier build that you have?

Could you perhaps try the non-pacman way of installing? See https://docs.haskellstack.org/en/stable/install_and_upgrade/. That should get you Stack 2.9.1.

@s5k6
Copy link

s5k6 commented Sep 22, 2022

Same problem here.

Could you perhaps try the non-pacman way of installing?

Sorry, but curl whatever | sh is a no-go. especially so when the its documentation says “will ask for root access”. Installing exclusively through a Linux distribution's packaging system has the benefit that what ever is been done to the system was (hopefully) reviewed by a knowledgeable packager, with the competence to keep the system somewhat clean.

I'll try to raise an issue with Arch Linux, maybe it is a packaging problem.

@s5k6
Copy link

s5k6 commented Sep 22, 2022

Arch Linux ticket: https://bugs.archlinux.org/task/75973

@huntears
Copy link

Same problem here with stack 2.7.5-162 on arch

@phdenzel
Copy link

Same problem here, same version. Need it for xmonad.

@killawat
Copy link
Author

killawat commented Sep 22, 2022

@mpilgrem Replacing the current pacman version (2.7.5-162) with 2.9.1 via "curl -sSL https://get.haskellstack.org/ | sh -s - -f" has resolved. Thanks

@s5k6
Copy link

s5k6 commented Sep 23, 2022

This now seems fixed in Arch Linux repositories as well. Pacman now installs version 2.7.5-163, which does not exhibit the error.

https://bugs.archlinux.org/task/75973#comment211322

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

5 participants