and the output from file?
(It is fairly clear that /lib64/libsrtp2.so.1 is not a valid file, but the output from file may tell us what it actually is, and give a clue as to why an invalid file ended up here.)
The output should be similar to:
$ file /usr/lib/x86_64-linux-gnu/libsrtp2.so.1
/usr/lib/x86_64-linux-gnu/libsrtp2.so.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=253ec3df7298ab513ee583fbe694e13d96b0bdda, stripped
This is from Debian, not CentOS. This version is not being used with Asterisk and may or may not be compatible.
If it says symbolic link, you should repeat file on the link target.