homebridge-theater-mode
homebridge-theater-mode copied to clipboard
LIbsodium and libtools error constantly unable to install
Hello,
This plugin will not install. I have followed every instruction and troubleshooting guide on the web and still nothing. I keep getting the libtools and libsodium errors as in they don't exist however they have been installed and show up to date with the current version.
Not sure what else can be done. REALLY want to get this plugin to work.
please help thanks!
If you running on a mac; try installing automake using Homebridge
brew install automake
no does not help, any other ideas?
You guys or anyone actually able to get this plugin to work? Been months of trying everything on the web and no results
On Jan 11, 2019, at 1:56 PM, Tom Woodhams [email protected] wrote:
no does not help, any other ideas?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/edc1591/homebridge-theater-mode/issues/11#issuecomment-453653929, or mute the thread https://github.com/notifications/unsubscribe-auth/AdQFgsQGkPrrAzymFSTs6vKnl29RrjH9ks5vCPp7gaJpZM4XwXMQ.
no luck here, identical issue as you (MacOS 10.14.1)
I’m running a Pi actually but same thing, even with the other DACP or AppleTV plugins, all the same type of error
On Jan 11, 2019, at 2:02 PM, Tom Woodhams [email protected] wrote:
no luck here, identical issue as you (MacOS 10.14.1)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/edc1591/homebridge-theater-mode/issues/11#issuecomment-453655439, or mute the thread https://github.com/notifications/unsubscribe-auth/AdQFgptKNu7VCSthrUqZeVGz8ac4loc5ks5vCPvtgaJpZM4XwXMQ.
I had it running and also dacp on a pi. It used to work although a bit slow. That is why I switched to dacp because my hue lights react much faster on play pause events with the dacp plugin. Then at some point dacp stopped working. I then checked theater-mode and it has also stopped working. My guess is a tvOS update is the cause.
homebridge-plex-sensors still works if it helps.
Yeah I am not a fan of plex and I was using that as well and then stopped working haha I removed and re added and changed ports and web hooks etc.. and no dice.
Thanks for the help!
On Jan 11, 2019, at 2:15 PM, Tom Woodhams [email protected] wrote:
homebridge-plex-sensors still work if it helps.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/edc1591/homebridge-theater-mode/issues/11#issuecomment-453658911, or mute the thread https://github.com/notifications/unsubscribe-auth/AdQFgunFcjXl7jtoTZ8gf_nHKPo68T2Uks5vCP79gaJpZM4XwXMQ.
Can you post the actual error you're getting?
Thanks for the reply.
Just ran the install with unsafe perm again and now it went through a long installation process but still ended with Sodium errors
Error: make nodesodium exited with code null
at ChildProcess.node install.js --install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-02-02T22_45_17_820Z-debug.log pi@raspberrypi:~ $
On Jan 30, 2019, at 5:18 PM, Evan Coleman [email protected] wrote:
Can you post the actual error you're getting?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/edc1591/homebridge-theater-mode/issues/11#issuecomment-459164250, or mute the thread https://github.com/notifications/unsubscribe-auth/AdQFguCswimpJpE_zG6Uk_Miw_Iwd2tUks5vIjZOgaJpZM4XwXMQ.
I get this before any installation of Homebridge-Apple-tv, or DACP or Home theater mode
[email protected] preinstall /opt/nodejs/lib/node_modules/homebridge-apple-tv/node_modules/sodium node install.js --preinstall
Static libsodium was not found at /opt/nodejs/lib/node_modules/homebridge-apple-tv/node_modules/sodium/deps/build/lib/libsodium so compiling libsodium from source.
Then it goes through an installation and check of many things but ultimately fails with sodium still
On Jan 30, 2019, at 5:18 PM, Evan Coleman [email protected] wrote:
Can you post the actual error you're getting?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/edc1591/homebridge-theater-mode/issues/11#issuecomment-459164250, or mute the thread https://github.com/notifications/unsubscribe-auth/AdQFguCswimpJpE_zG6Uk_Miw_Iwd2tUks5vIjZOgaJpZM4XwXMQ.
Same problem here - libsodium installation fails. Seems this plugin depends on a really old version of libsodium. I believe that probably the same issue was present with another plugin and was solved by changing the dependency. See here: https://github.com/lprhodes/homebridge-apple-tv/issues/43#issuecomment-449105662
@edc1591, maybe this is the same problem that you can fix in a similar way?
Do you know the Libsodium version required?
Sent from my iPhone
On Mar 4, 2019, at 2:42 PM, MBarti [email protected] wrote:
Same problem here - libsodium installation fails. Seems this plugin depends on a really old version of libsodium. I believe that probably the same issue was present with another plugin and was solved by changing the dependency. See here: lprhodes/homebridge-apple-tv#43 (comment)
@edc1591, maybe this is the same problem that you can fix in a similar way?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Oh, it seems the guy that fixed the other plugin also forked and possibly fixed this one... https://github.com/pponce/homebridge-theater-mode
He updated the dependency to his own fork of node-appletv, which in turn updates the libsodium dependency to version 3.0.1
Ok, got it working now! Took 1h and multiple warnings for some reason, but it finally installed. Looks like many people forked this plugin to fix the dependency, e.g. also here: https://github.com/mitchelp/homebridge-theater-mode
Try: npm install -g pponce/homebridge-theater-mode --unsafe-perm or: npm install -g mitchelp/homebridge-theater-mode --unsafe-perm
Did you do this with the current libsodium version?
Sent from my iPhone
On Mar 4, 2019, at 5:04 PM, MBarti [email protected] wrote:
Ok, got it working now! Took 1h and multiple warnings for some reason, but it finally installed. Looks like many people forked this plugin to fix the dependency, e.g. also here: https://github.com/mitchelp/homebridge-theater-mode
Try: npm install -g pponce/homebridge-theater-mode --unsafe-perm or: npm install -g mitchelp/homebridge-theater-mode --unsafe-perm
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I didn't do anything - just installed the fork of the homebridge-theater-mode plugin with the above command and it worked.
Unfortunately the plugin itself is very slow - sometimes 20-30 seconds for the status to update :(
Neither the fork from ponce or mitchelp worked for me, still get the same sodium error message which others have posted here.
I also upgraded my node version before installation, to the latest one 11.10.1, maybe that will help you? Warning: it requires all other home bridge plugins to be rebuilt or reinstalled. https://thisdavej.com/upgrading-to-more-recent-versions-of-node-js-on-the-raspberry-pi/
As this issue has not been resolved and the plug-in has not been updated in a year, Is it safe to assume that this plug-in is dead.
Good morning all ! I dig up the subject to find out if some have solved the problem with sodium? This plugin is really useful and will be more and more! @evandcoleman , do you think you can fix the bugs?
Sadly still not working with sodium error