Bug #58264 [Opn->Csd]: Error in config.m4 cause "wrong magic lib version or lib not found"
| From: | felipe@php.net | Date: | Mon, 11 Jun 2012 13:49:11 +0000 |
| Subject: | Bug #58264 [Opn->Csd]: Error in config.m4 cause "wrong magic lib version or lib not found" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171194@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=58264&edit=1
ID: 58264
Updated by: felipe@php.net
Reported by: joakimsen at gmai dot dot com
Summary: Error in config.m4 cause "wrong magic lib version or
lib not found"
-Status: Open
+Status: Closed
Type: Bug
-Package: Fileinfo
+Package: *General Issues
Operating System: openSUSE 10.3
PHP Version: 5.2.5
-Assigned To:
+Assigned To: felipe
Block user comment: N
Private report: N
New Comment:
Fileinfo is in the core now.
Previous Comments:
------------------------------------------------------------------------
[2008-07-06 16:03:14] joakimsen at gmai dot dot com
Description:
------------
fileinfo does not compile either using 'pecl install fileinfo' or manually downloading the
package and trying to compile.
Always reports:
>"configure: error: wrong magic lib version or lib not found"
>correct magiclib from RPM is installed.
Despite the fact that magliclib and magiclib-devel are installed.
PHP version is 5.2.6.
In order to fix this error (which if you search google seems to be a common issue with many
distributions) one must ... "edit config.m4 replace all [occurrences] of the pattern
"/lib" with $PHP_LIBDIR."
I must credit Cristian "Elvigia" Rodriguez of the SuSE team for the solution.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=58264&edit=1