Install Prob:libpri.so.1.0 failed: No such file or directory

Hi all,

I am just a newbie in Asterisks and trying to install libpri.
When I did make install, the following error occurred:

if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep “SELinux status:” | grep -q “enabled”); then restorecon -v //lib/libpri.so.1.0; filstat(//lib/libpri.so.1.0) failed: No such file or directory
( cd /usr/lib ; ln -sf libpri.so.1 libpri.so )
install -m 644 libpri.a /usr/lib
/sbin/ldconfig

I was able to locate libpri.so.1.0 in /usr/lib/libpri.so.1.0

What do I need to do to fix that? :unamused:

Thanks in advance

I think I solved the problem.

Just go to the Makefile and add the following line:

INSTALL_BASE=/usr

Thanks, Blue Tongue, the same solution worked for me. Saved me a lot of time :smile:
If this is not a bug in the makefile, I don know what is.

Harrie