|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-01-18 19:03 UTC] mike at lismal dot ch
Description: ------------ Build error os x Reproduce code: --------------- Building this package on os x with pear results in following error: SRM checking for PHP extension directory... /usr/local/php5/ lib/php/extensions/no-debug-non-zts-20041030 checking for re2c... exit 0; checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for fileinfo support... yes, shared checking for magic files in default path... not found configure: error: Please reinstall the libmagic distribution `/private/tmp/tmpbTlPl7/Fileinfo-0.2/configure' failed I installed libmagick via fink PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 01:00:01 2025 UTC |
to get fileinfo to compile on os x you must install the fink packages: file-shlibs and file-dev otherwise libmagic won't be found also when loading the extension in a script: don't use dl('fileinfo.' . PHP_SHLIB_SUFFIX); but: dl('fileinfo.so');