Edward-Wu / srt-live-server

srt live server for low latency
Other
644 stars 192 forks source link

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

Open baldpope opened 1 year ago

baldpope commented 1 year ago

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

baldpope commented 1 year ago

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: https://github.com/Edward-Wu/srt-live-server/issues/16#issuecomment-600977293