liquidsoap-daemon icon indicating copy to clipboard operation
liquidsoap-daemon copied to clipboard

Opam install - symlink not working

Open romchambe opened this issue 4 years ago • 1 comments

Hello, thanks again for all the work on liquidsoap and other dependencies, it is really awesome.

I installed liquidsoap-daemon using opam on Ubuntu 18.04 (opam install liquidsoap-daemon) as a user with sudo privilege.

I could setup the startup script using the script in /home/user/.opam/default/share and then use the daemon. But before that, I struggled a bit as when I was trying to run it as per the docs in my user's home dir(./daemonize.sh <script>), I had a command not found error.

I tried to use the shel script in /home/user/.opam/default/bin/, I got the following :

./.opam/default/bin/daemonize-liquidsoap.sh: 17: [: /: unexpected operator
./.opam/default/bin/daemonize-liquidsoap.sh: 25: cd: can't cd to ./.opam/default/bin//home/romchambeops/.opam/default/share

I tried to make symlinks from /home/user/.opam/default/share to /usr/local/bin and made sure the file was executable, but I always have an error similar to the one above.

Am I missing something with opam or during the install ?

Thanks

romchambe avatar Jun 30 '20 09:06 romchambe

got the same. Actually just managed to get the whole thing run without any opam install. Just go to your ~/ directory, git clone this repo, and run the script as instructed, it will work!

scd75 avatar Nov 23 '20 15:11 scd75