add new library path – centos

vi /etc/ld.so.conf.d/mylibs.conf

/my_custom_path/to_libs

ldconfig

to check if new path added:
ldconfig -v | grep /my_custom_path/to_libs

Leave a Reply

Your email address will not be published. Required fields are marked *