Re: fileinfo problems

From: Date: Wed, 26 May 2004 12:42:50 +0000
Subject: Re: fileinfo problems
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-694@lists.php.net to get a copy of this message
I had the same issue, and a kindly PECL-dev reader clued me into the solution -- use CVS. There is a typo in php_fileinfo.h and fileinfo.c that messes up the shared extension (the substring FILENINFO should be FILEINFO). * Gareth Ardron <gaz@stack.fission.org.uk> [2004-05-26 7:30am]: > Hi, > > Currently having a few problems with fileinfo and php5-rc2. > > The module /looks/ to compile ok, and I get a 66kb .so out at the end. However, whenever I try > to run the test scripts for fileinfo, I get this > error: > Warning: dl(): Invalid library (maybe not a PHP library) 'fileinfo.so' in > /usr/src/Fileinfo/fileinfo.php on line 3 > fileinfo extension is not avaliable, please compile it. > > Permissions, paths, etc - all the obvious things have been checked about 50 times over. > > Various versions of things follow: > autoconf : 2.59 > automake : 1.6 > libtool : 1.5.6 > php : 5-rc2 > OS : Debian Sarge (Testing) > > Don't suppose anybodies got any ideas have they, or is it a random bug due to the zend api > change ? > > Cheers, > > -- > Gareth -- "One day I want people to look back on me and say 'He knew what the fuck he was doing'" -- Eminem

« previous php.pecl.dev (#694) next »