-
Notifications
You must be signed in to change notification settings - Fork 204
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
voicecommand: error while loading shared libraries: libboost_regex.so.1.49.0: cannot open shared object file: No such file or directory #97
Comments
I too have a same issue. Any body found a solution? |
This issue is related with version of g++, clone this https://github.com/moltak/PiAUISuite or edit |
or type |
You may want to try this |
I get to the voicecommand setup and then don't hear anything. Does voicecommand work through a bluetooth speaker? |
Edit: This finally worked for me: https://www.raspberrypi.org/forums/viewtopic.php?p=1275083#p1275083 Both fixes don't work for me, I've tried numerous times, including other possible fixes such as alternate repositories for packages and trying to use a different version of libboost_regex. I've tried transmit-ter's approach and it fails on "make clean": I tried skipping it but the next command also gives errors: I've been trying for weeks to get this to work, but I can't make it work. It's missing libboost_regex.so.1.49.0 and I can't for the life of me figure out how to get it or how to replace it. I tried different versions of libboost_regex, doesn't work. I tried getting the original 1.49.0 package elsewhere, no luck. It's driving me crazy. |
Symlinking the libraries (as per s1h4d0ws raspi forum link above) worked for me, but it was also necessary to rerun the PiAUI install script after creating the symlink |
This solution is the only one that worked for me. Special thanks to dominic ancelm's reply to Felix Bieri's question on this blog: http://stevenhickson.blogspot.com/2013/06/installing-and-updating-piauisuite-and.html. Dominic Ancelm's post: " after the installation I checked what are all installed. display shows: sudo ln -s /usr/lib/arm-linux-gnueabihf/libboost_regex.so.1.62.0 /usr/lib/arm-linux-gnueabihf/libboost_regex.so.1.49.0 that's all |
Symlinking different versions of shared libs isn't the solution. You will get a loadable binary, but it won't do anything useful unless those shared libs are really pretty much identical - which they probably won't be (otherwise, why the version difference?). Trying out Matthew Larkin's solution doesn't give a working solution, at least, not for me. The thing to do is to
However, looking at the source, I get a feeling this C++ version of |
/\ This exactly. I've messed with symlinking other versions but it simply does not work. I haven't gotten VoiceCommand to work even once, and believe me, I've spent hours on it. |
I tried touching base with the developer (no response... shrugs) so I did a bunch of leg work for this to find a workable solution. After about a week of testing I came up with a workable solution with a very simple python script. As long as your audio devices are correctly set up you can use it https://www.github.com/thepony/piTalk |
Assalam u Alikum |
Would you like voicecommand to try to set itself up? y/n
voicecommand: error while loading shared libraries: libboost_regex.so.1.49.0: cannot open shared object file: No such file or directory
sudo apt-get install -y libboost-dev libboost-regex-dev youtube-dl axel curl xterm libcurl4-gnutls-dev mpg123 flac sox
results are:
axel is already the newest version (2.12-1).
curl is already the newest version (7.52.1-5+deb9u1).
flac is already the newest version (1.3.2-1).
libboost-dev is already the newest version (1.62.0.1+b4).
libboost-regex-dev is already the newest version (1.62.0.1+b4).
libcurl4-gnutls-dev is already the newest version (7.52.1-5+deb9u1).
mpg123 is already the newest version (1.23.8-1).
sox is already the newest version (14.4.1-5).
xterm is already the newest version (327-2).
youtube-dl is already the newest version (2017.05.18.1-1).
host 9.10.3-P4-Raspbian
I'm pretty certain its because of Stretch vs Jessie but I'm not Linux savvy enough to figure out what and where to change.
Are you working on updating the code by any chance or did anyone figure out how to solve this?
I read on one post to do the below but gives me no results, in fact my /usr/lib doesn't have x86_64-linux-gnu directory
ls /usr/lib/x86_64-linux-gnu | grep 'libboost_regex'
Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: