Home > Configure Error > Configure Error Libmagic Not Found

Configure Error Libmagic Not Found

It breaks the -i functionality of the file command, causing it to return the human-readable string instead of the MIME type. Required fields are marked *Comment Name * Email * Website Post navigation Previous Previous post: How to install fusecompress in CentOS 6Next Next post: How to change WHM reseller password! Radio button group label for employee leaving, terminated, or retired "ON the west of New York?" Is this preposition correct? Join them; it only takes a minute: Sign up Installing pecl_http in xubuntu up vote 9 down vote favorite 6 As per title, I am simply trying to install pecl_http extension have a peek here

Download, compile and install
wget http://pecl.php.net/get/Fileinfo-1.0.4.tgz
gunzip Fileinfo-1.0.4.tgz
tar -xvf Fileinfo-1.0.4.tar
cd fileinfo-1.0.4
make install

3. Best Regards Serkan OKTER Faq Reply With Quote Share This Thread  Tweet This + 1 this Post To Linkedin Subscribe to this Thread  Subscribe to This Thread « Previous Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the freebsd-questions mailing list Downloads Documentation Get Involved Help PHP 7.1.0 Release Candidate Are there any saltwater rivers on Earth? https://mellowhost.com/blog/configure-error-libmagic-not-found-centos.html

o checking whether we are using the GNU C compiler... The problem appears to be with finding the magic file. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

  1. lrwxrwxrwx 1 root other 10 Jun 12 07:55 magic -> /etc/magic Faq Reply With Quote January 9th, 2007,08:56 PM #2 No Profile Picture motin View Profile View Forum Posts Visit
  2. How to change WHM reseller password!
  3. i386-portbld-freebsd5.3 checking host system type...
  4. Guess the word Do all aircraft need to have horizontal and vertical stabilizers?
  5. Restart your web server. up down 1 aidan at php dot net ¶7 years ago As of PHP 5.3, Fileinfo is shipped with the main distribution and enabled by
  6. more hot questions question feed lang-php about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

yes checking for cc option to accept ANSI C... yes >>> configure: WARNING: pcre.h: present but cannot be compiled >>> configure: WARNING: pcre.h: check for missing prerequisite headers? >>> configure: WARNING: pcre.h: see the Autoconf documentation >>> configure: WARNING: pcre.h: yes checking whether cc accepts -g... Where is the problem?? >> >> Please try --disable-gccmarch-native instead. >> >> -- > > Thanks Victor, now it works but returns me another error: > > checking magic.h usability...

a.out checking whether the C compiler works... Add extension=fileinfo.so and then press to exit insert mode and return to command mode. If you have Debian based system you can simply install it with apt.
But if you have an rpm based system (like me), you have to download the following package: https://www.varnish-cache.org/comment/1298 After some googling about where to find magic.h led me to the dead
simple solution:

apt-get install libmagic-dev

This does NOT solve the original installation bug strangely enough, but

Text editor for printing C++ code How do I determine the value of a currency? I attempted that, but it did not work. Plot list over same x values? Why is HTTP data sent in clear text over password-protected Wifi?

not found
configure: error: Please reinstall the libmagic distribution

zypper install file-devel up down -3 hari_1983 at yahoo dot com ¶9 years ago Actually for RPM users file-devel check it out So I did what makes most sense: [email protected] ~ $ sudo pecl install pecl_http downloading pecl_http-1.6.6.tgz ... sparc-sun-solaris2.9 checking target system type... What if I want to return for a short visit after those six months end?

I was following instructions to compile viking in a CentOS machine and this post helped a lot. http://iembra.org/configure-error/configure-error-xpm-h-not-found.php Register Lost Password? Is there a single word for people who inhabit rural areas? Skip to content Mellowhost Blog Web Hosting Journal Configure error: libmagic not found CentOS How to solve "libmagic not found" while configure a software in CentOS?

yes checking for getservbyport... One post suggested linking from /usr/share/misc/magic to /etc/hosts. whether to enable response content type guessing; specify libmagic directory : no 1-1, 'all', 'abort', or Enter to continue: 1. Check This Out sparc-sun-solaris2.9 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20050922 checking for PHP installed headers prefix... /usr/local/include/php checking for re2c...

yes checking if compiler supports -R... no >>> configure: error: pcre.h not found ... >>> >>> pcre-devel package is installed and I have tried to configure using >>> --disable-gcc-march-native switch without luck. The final step to activate the Fileinfo extension is to restart the web server.

no configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.

Type :wq to exit vi and save your changes. Did Fibonacci slow down? There is better alternative - use lunux comand "file". an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/sysutils/pecl-fileinfo. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. *********************************************************** dns1# locate libmagic /usr/lib/libmagic.a /usr/lib/libmagic.so /usr/lib/libmagic.so.1 /usr/lib/libmagic_p.a /usr/share/man/cat3/libmagic.3.gz /usr/share/man/man3/libmagic.3.gz /usr/src/contrib/file/libmagic.man /usr/src/contrib/file/libmagic.man,v /usr/src/lib/libmagic /usr/src/lib/libmagic/Makefile

I was trying to install fileinfo also and ./configure failed until I ran yum install file-devel Reply handa says: March 7, 2014 at 3:16 am Dude, you're a time saver! Dont just take our word for it..! Reply Pancho says: November 15, 2014 at 1:38 am Thak you very much! http://iembra.org/configure-error/configure-error-no-glu-h-found.php Starting to download pecl_http-1.6.6.tgz (173,645 bytes) .....................................done: 173,645 bytes 71 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519

Any help will be highly appreciated.   Fri, 2013-11-01 13:14 ethancaleb.ec Basic steps to install the Fileinfo PECL module cd /usr/src
wget http://pecl.php.net/get/Fileinfo-1.0.4.tgz
tar -zxf Fileinfo-1.0.4.tgz
cd Fileinfo-1.0.4
make install A term for a spot, placement or location in the sky? sudo service apache2 restart or sudo service nginx restart share|improve this answer edited Oct 6 '13 at 9:24 Daniel Williams 5,03411831 answered May 14 '13 at 2:29 Kostanos 3,43621937 add a just sudo apt-get install libcurl3-dev will provide curl/curl.h and your pecl_http installation will continue share|improve this answer answered Nov 14 '11 at 0:57 bubjavier 67167 add a comment| up vote 2

no checking for nawk... not found configure: error: could not find curl/curl.h ERROR: `/tmp/pear/temp/pecl_http/configure --with-http-curl-requests --with-http-zlib-compression --with-http-magic-mime=no --with-http-shared-deps' failed so Ok, I don't have curl in the system, so I do [email protected] ~ $ sudo Because of that reason : At the first download and compile magic.so and magic.h from http : // ftp.uni-koeln.de / util / file-4.21.tar.gz and compile it with bash# export LDFLAGS='-R /usr/local/lib' Type :wq to exit vi and save your changes.

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 If this should be posted somewhere else please let me know. gawk checking for fileinfo support... Mon, 2013-11-04 13:16 johncruz23 Hi, I was facing the same problem and try to reinstall the Varnish into my PC.But haven't succeeded.

checking for suffix of object files...