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

LIbsodium and libtools error constantly unable to install #11

Open
jblakeney82 opened this issue Oct 19, 2018 · 22 comments
Open

LIbsodium and libtools error constantly unable to install #11

jblakeney82 opened this issue Oct 19, 2018 · 22 comments

Comments

@jblakeney82
Copy link

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!

@lyret
Copy link

lyret commented Nov 22, 2018

If you running on a mac; try installing automake using Homebridge

brew install automake

@Moonmonkey-Beep
Copy link

no does not help, any other ideas?

@jblakeney82
Copy link
Author

jblakeney82 commented Jan 11, 2019 via email

@Moonmonkey-Beep
Copy link

no luck here, identical issue as you (MacOS 10.14.1)

@jblakeney82
Copy link
Author

jblakeney82 commented Jan 11, 2019 via email

@ptrvg
Copy link

ptrvg commented Jan 11, 2019

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.

@Moonmonkey-Beep
Copy link

Moonmonkey-Beep commented Jan 11, 2019

homebridge-plex-sensors still works if it helps.

@jblakeney82
Copy link
Author

jblakeney82 commented Jan 11, 2019 via email

@evandcoleman
Copy link
Owner

Can you post the actual error you're getting?

@jblakeney82
Copy link
Author

jblakeney82 commented Feb 2, 2019 via email

@jblakeney82
Copy link
Author

jblakeney82 commented Feb 3, 2019 via email

@MBarti
Copy link

MBarti commented Mar 4, 2019

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?

@jblakeney82
Copy link
Author

jblakeney82 commented Mar 4, 2019 via email

@MBarti
Copy link

MBarti commented Mar 4, 2019

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

@MBarti
Copy link

MBarti commented Mar 5, 2019

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

@jblakeney82
Copy link
Author

jblakeney82 commented Mar 5, 2019 via email

@MBarti
Copy link

MBarti commented Mar 5, 2019

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 :(

@StefaanD
Copy link

StefaanD commented Mar 5, 2019

Neither the fork from ponce or mitchelp worked for me, still get the same sodium error message which others have posted here.

@MBarti
Copy link

MBarti commented Mar 11, 2019

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/

@gmum4d
Copy link

gmum4d commented Aug 6, 2019

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.

@andeoldemeu
Copy link

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?

@Jorick-tv
Copy link

Sadly still not working with sodium error

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

10 participants