Tidal
Tidal copied to clipboard
tidal-listener: error while loading shared libraries
where
OS: Ubuntu 22.10
what
tidal-listener doesn't start, it returns:
./tidal-listener: error while loading shared libraries: libHStidal-listener-0.1.0.0-inplace-ghc9.0.1.so: cannot open shared object file: No such file or directory
how
- download tidal-listener artifact from actions ( I tried both the one built just after #996 and the latest one, same erro)
- extract it
- execute with
./tidal-listener
@polymorphicengine maybe you could help out. thanks
Hey! This is more or less due to the following issue: https://github.com/haskell-hint/hint/issues/156, which we are really hoping to get fixed, but it is not looking good unfortunately.
This basically forces the dynamic flag in the compilation for it to work properly, which means that the binary that is generated by the workflow is not completely packaged..
the only way to use the listener right now is to compile it yourself (with the dynamic flag)
I followed the documentation and did:
cd tidal-listener
cabal install
but I got
cabal: Cannot build the package tidal-listener-0.1.0.0 because none of the
components are available to build: the executable 'tidal-listener' and the
library are all marked as 'buildable: False'
ah sorry, it should be cabal build.
the error you are getting is weird though.. you don't have an old tidal-listener.cabal file somehow, right? can you check if it says buildable: False, somewhere in there?
just tried it on my machine (ubuntu 22.04.1) and it works for me