when i run the first program with pocketsphinx, an error is found, below
./hello_world:
error while loading shared libraries: libpocketsphinx.so.1: cannot open shared
object file: No such file or directory
i search the file libpocketsphinx.so.1, it is in the usr/local/lib.
who can help me?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Linux dynamic loader doesn't use libraries in /usr/local/lib by default, it
only looks in /usr/lib. To configure the loader you can use environment
variable:
exportLD_LIBRARY_PATH=/usr/local/lib
or edit configuration file /etc/ld.so.conf
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you very much. I edit configuration file /etc/ld.so.conf adding
/usr/loacl/bin ,and run command-line :ldconfig. Finally, I can run the program
success.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when i run the first program with pocketsphinx, an error is found, below
./hello_world:
error while loading shared libraries: libpocketsphinx.so.1: cannot open shared
object file: No such file or directory
i search the file libpocketsphinx.so.1, it is in the usr/local/lib.
who can help me?
Linux dynamic loader doesn't use libraries in /usr/local/lib by default, it
only looks in /usr/lib. To configure the loader you can use environment
variable:
or edit configuration file /etc/ld.so.conf
thank you very much. I edit configuration file /etc/ld.so.conf adding
/usr/loacl/bin ,and run command-line :ldconfig. Finally, I can run the program
success.