Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centos8 tips #45

Open
seamanm opened this issue Feb 17, 2022 · 4 comments
Open

centos8 tips #45

seamanm opened this issue Feb 17, 2022 · 4 comments

Comments

@seamanm
Copy link

seamanm commented Feb 17, 2022

run filereceive example,get error:
error while loading shared libraries: libsrt.so.1.4: cannot open shared object file: No such file or directory
exit status 127
im confirm,im make and make install srt

@jeoliva
Copy link
Contributor

jeoliva commented Feb 17, 2022

Hey, @seamanm. Looks like a problem on your setup. Could you please run pkg-config --libs srt in a shell and verify the file libsrt.so.1.4 exists and is accessible (read permission) in the directory indicated by pkg-config output?

@seamanm
Copy link
Author

seamanm commented Feb 19, 2022

hi this flow centos 8:

pkg-config --libs srt

Package srt was not found in the pkg-config search path.
Perhaps you should add the directory containing `srt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'srt', required by 'virtual:world', not found

this flow ubuntu:
root@ecs-EGsYA:# pkg-config --libs srt
-L/usr/local/lib -lsrt
root@ecs-EGsYA:
#

@seamanm
Copy link
Author

seamanm commented Feb 19, 2022

[root@ns544235 local]# ls lib
[root@ns544235 local]# ls lib64
bpf libsrt.a libsrt.so libsrt.so.1.4 libsrt.so.1.4.4 pkgconfig
[root@ns544235 local]#

@seamanm
Copy link
Author

seamanm commented Feb 19, 2022

[root@ns544235 local]# pkg-config --variable pc_path pkg-config
/usr/lib64/pkgconfig:/usr/share/pkgconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants