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

RHVoice-test: error while loading shared libraries: libRHVoice_core.so.7 #558

Open
zoldaten opened this issue Apr 20, 2022 · 1 comment
Open

Comments

@zoldaten
Copy link

zoldaten commented Apr 20, 2022

just built from source RHVoice on Raspbian buster arm and got a error when tested:

RHVoice-test: error while loading shared libraries: libRHVoice_core.so.7: cannot open shared object file: No such file or directory

i`ve checked - the library is presented in system:

sudo find / -name libRHVoice_core.so.7

i found out that it is not in path:

echo $LD_LIBRARY_PATH

so i just added the path where it is:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

and to add permanently:

sudo nano ~/.bashrc
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

profit!

@artenax
Copy link

artenax commented Jul 12, 2023

When compiling to /usr/local, don't forget to run sudo ldconfig
/usr/local/lib is in the PATH and LD_LIBRARY_PATH is not needed.

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

2 participants