Jump to content
Flirc Forums
eugene_o

problems with flirc_util

Recommended Posts

Hello,

I am having problems running command line flirc_util (v3.9.10) on macOS High Sierra. When I first tried running it I got:

"Library not loaded: /usr/local/lib/libhidapi.0.dylib"

I ran "brew install hidapi", and after that flirc_util would run and print the usage message. Unfortunately, when I tried any other command, like "flirc_util status", I was getting:

"device disconnected, can't run command"

Flirc itself works fine, and the GUI app works too. Could you point me to anything else I could try to make flirc_util work?

Thank you!

Share this post


Link to post
Share on other sites

Thanks for letting me know. I am using a non public version of hidapi, as there are several bugs that have been addressed in my copy.

Do the following; 

cd /Applications/Flirc.app/Contents/Resources

install_name_tool -change /usr/local/lib/libhidapi.0.dylib /Applications/Flirc.app/Contents/Frameworks/libhidapi.0.dylib flirc_util

For those without install_name_tool (mac developer plugins), updated flirc_util attached.

I'll issue an update shortly.

Sorry for the inconvenience.

flirc_util

Share this post


Link to post
Share on other sites

That command didn't help:

- - -

bash-3.2$ sudo install_name_tool -change /usr/local/lib/libhidapi.0.dylib /Applications/Flirc.app/Contents/Frameworks/libhidapi.0.dylib flirc_util

Password:

bash-3.2$ pwd

/Applications/Flirc.app/Contents/Resources

bash-3.2$ ./flirc_util status

device disconnected, can't run command

- - -

The version you linked to works, thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×