A simple question for install Asterisk!


#1

when I make install for libpri
there is an error like this:

mkdir -p /usr/lib
mkdir -p /usr/include
install -m 644 libpri.h /usr/include
install -m 755 libpri.so.1.0 /usr/lib
if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep “SELinux status:” | grep -q “enabled”); then restorecon -v //lib/libpri.so.1.0; fi
/bin/sh: restorecon: command not found
make: *** [install] Error 127

somebody help me?


#2

Either you need to install restorecon or restorecon is not in your default path. What do you get when from the following command: whereis restorecon


#3

after “whereis restorecon” , it comes:
restorecon: /sbin/restorecon /usr/share/man/man8/restorecon.8.gz
What should I do?


#4

somebody help me!! thank you!!


#5

i am stuck here as well.


#6

i made a link for restorecon

[root@server1 bin]# ln -s /sbin/restorecon ./restorecon