cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.21k stars 474 forks source link

Can't install on CentOS 8, libcrypto #468

Closed anutator closed 4 years ago

anutator commented 4 years ago

Errors:

configure: error: Package requirements (libcrypto >= 1.0.1) were not met:

Package 'libcrypto', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables crypto_CFLAGS
and crypto_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details

But I have libcrypto: -rwxr-xr-x. 1 root root 3290360 мая 11 04:57 /lib64/libcrypto.so.1.1.1

pabuhler commented 4 years ago

Hi, I am not familiar with CentOS but I cant see why it should be different. Are you building from a git clone or package? Do you have the openssl development package installed? If you provide the config.log it might contain something useful. You could also try with cmake and see if that works better.

pabuhler commented 4 years ago

Do you still have issues building/installing, you can see examples on building on different platforms with and without openssl in the .travis.yml file. If you find problems with the libsrtp build files then please reopen this issue and provide enough information that it can be easily reproduced.

bibaodi commented 1 year ago

I think the dev package shoud be installed.

apt install libgcrypt20-dev

just FYI.