|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56279 configure error
Submitted: 2005-01-31 21:11 UTC Modified: 2005-04-05 11:10 UTC
From: david at tmv dot gov dot tw Assigned:
Status: Not a bug Package: Fileinfo (PECL)
PHP Version: 4.3.10 OS: RedHat Linux /ES
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: david at tmv dot gov dot tw
New email:
PHP Version: OS:


 [2005-01-31 21:11 UTC] david at tmv dot gov dot tw

2.install command: pear install fileinfo

3.Problem short description:
I got this error message while install fileinfo:

checking for fileinfo support... yes, shared
checking for magic files in default path... not found
configure: error: Please reinstall the libmagic distribution
`/tmp/tmps1woV1/Fileinfo-0.2/configure' failed

4.PHP configure line:
'./configure' '--enable-inline-optimization' '--with-gd' '--with-mime-magic' '--with-mhash' '--with-dom' '--with-zlib' '--with-openssl=/usr/local/' '--with-mcrypt=/usr/local' '--with-mm' '--with-ldap' '--with-imap=../imap-2004a' '--with-gettext=/usr/local' '--enable-ftp' '--with-db4' '--with-apache=../apache_1.3.28' '--with-mysql=/usr/local' '--with-config-file-path=/usr/local/apache/conf' '--enable-mbstring' '--with-mbstring=all' '--with-iconv'

5. Compare with php.ini-dist:
;zlib.output_compression = Off
zlib.output_compression = On
;post_max_size = 8M
post_max_size = 200M
;include_path = ".:/php/includes"
include_path = "/usr/local/lib/php:/usr/local/share/pear:."
;upload_tmp_dir =
upload_tmp_dir = /tmp


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-19 16:40 UTC] vincent at tigroux dot net
Do you have libmagic library installed ?

If not, you can install it from source :
 [2005-03-20 19:35 UTC] david at tmv dot gov dot tw
 [2005-04-05 11:10 UTC] ilia at prohost dot org
missing library.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 12:01:33 2024 UTC