Shared libs are know by linking its path in /etc/ld.so.conf.d/
Recently i came across an error in asterisk while trying to compile OPUS codec as shared lib support to asterisk
asterisk: error while loading shared libraries: libopus.so
But OPUS was install under /usr/local/lib
Now to make it available to asterisk do
echo '/usr/local/lib' > /etc/ld.so.conf.d/usr_local.conf
then update ldconfig by
ldconfig && ldconfig -v
Recently i came across an error in asterisk while trying to compile OPUS codec as shared lib support to asterisk
asterisk: error while loading shared libraries: libopus.so
But OPUS was install under /usr/local/lib
Now to make it available to asterisk do
echo '/usr/local/lib' > /etc/ld.so.conf.d/usr_local.conf
then update ldconfig by
ldconfig && ldconfig -v
No comments:
Post a Comment