Permanent way:
- Create a new file in
/etc/ld.so.conf.d/
called.conf
- Edit the file and add a line per directory of shared libraries (*.so files), it will look something like:
/usr/lib/APPLICATION/lib
Reload the list of system-wide library paths:
- sudo ldconfig
====================================Temporary way:
- export LD_LIBRARY_PATH=/your/lib/path
No comments:
Post a Comment