Today I was trying to install fileinfo on a server and get this error.
checking for magic files in default path… not found
configure: error: Please reinstall the libmagic distribution
ERROR: `/tmp/pear/download/Fileinfo-1.0.4/configure’ failed
After i try to install yum install libmagic , libmagic-dev , libmagic-devel and see don’t work the panic was here. After a long search I discover that the solution was to install
yum install file-devel
So if you are on same situation hope this will help you .
Regards
Thanks for the post. This saved me today. I was trying to install fileinfo also and ./configure failed until I ran yum install file-devel
Comment by webwiki — January 13, 2013 @ 10:50 am
Dude, you’re a time saver!
Comment by handa — March 7, 2014 @ 3:16 am
Thak you very much!
I was following instructions to compile viking in a CentOS machine and this post helped a lot.
Greetings!
Comment by Pancho — November 15, 2014 @ 1:38 am
save my day~
Comment by royn — March 11, 2017 @ 7:43 pm
Thank you very much!
Comment by Netman — March 16, 2017 @ 9:34 pm