Closed evandrocoan closed 2 years ago
You may need to run ldconfig
after the deps are installed.
@achaloyan
Running ldconfig
does work.
But I found when I run ./build-dep-libs.sh
, libsofia-sip-ua.so.0
will be install to /usr/local/lib
, and the install script does execute ldconfig -n /usr/local/lib
which will update ld.so.cache
. Why libsofia-sip-ua.so.0
cannot be found? While libapr-1.so.0
can be found.
Thank you!
Hi
I find the reason. sofia‘s default install dir is /usr/local
, so libsofia-sip-ua.so.0
will be installed to /usr/local/lib
. While
ldconfig -n /usr/local/lib
which install script executes does NOT scan /usr/local/lib
, because /usr/local/lib
is default dir.
Created this docker file to run the example server:
But after building it, the server cannot find the libsofia library:
The thing was supposed to be installed by the logs:
Full logs: tmux.txt