Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Makefile:252: recipe for target 'install' failed

I'm trying to install pwlib on my asterisk/ubuntu 16.04 Server, but when I try to run make install I get the following error message:

( for dir in /usr/local/lib \
             /usr/local/bin \
             /usr/local/include/ptlib \
                     /usr/local/include/ptlib/unix/ptlib \
                     /usr/local/include/ptclib \
                     /usr/local/share/pwlib/make ; \
        do mkdir -p $dir ; chmod 755 $dir ; \
done )
/usr/bin/install -c -m 444 lib/libpt_linux_x86_64_r.so.1.12.0 /usr/local/lib
/usr/bin/install: cannot stat 'lib/libpt_linux_x86_64_r.so.1.12.0': No such file or directory
Makefile:252: recipe for target 'install' failed
make: *** [install] Error 1

Thank you in advance for your help!

Greetings

Alessio

like image 974
Alessio C. Avatar asked Jan 03 '17 15:01

Alessio C.


1 Answers

Aware this is an old post but for anyone with a similar issue:

Sometimes running

make install

will throw this error while

sudo make install

will work

like image 191
Steve Avatar answered Oct 20 '22 11:10

Steve