Edward-Wu/srt-live-server

after build error while loading shared libraries: libsrt.so.1.5

Opened this issue · 1 comments

completed the install of the haivision/srt (make && sudo make install)
completed the build of sls/slc (make -> build successful)

stream-server:~/sls/srt-live-server/bin$ ./sls -h
./sls: error while loading shared libraries: libsrt.so.1.5: cannot open shared object file: No such file or directory

Possible an issue with Ubuntu 18 specifically - the issue is (was) the LD_LIBRARY_PATH was not set

to fix once
export LD_LIBRARY_PATH=/usr/local/lib

to fix for each subsequent login (before setting up as a service) - your results may vary depending on your environment.
echo export LD_LIBRARY_PATH=/usr/local/lib >> ~/.bashrc

looks like this was previously address here: #16 (comment)