severity 339007 grave thanks On Fri, Nov 18, 2005 at 09:05:08AM +0100, Petter Reinholdtsen wrote:
> > I get this error because php_mapscript.so is into /usr/lib/php4/20020429: > > Warning: dl(): Unable to load dynamic library > > '/usr/lib/php4/20050606/php_mapscript.so' - > > /usr/lib/php4/20050606/php_mapscript.so: cannot open shared object file > > I have corrected this problem with a symbolic link. > The date used in /usr/lib/php4/ is supposed to be the PHP ABI/API > version. I'm told the php4 ABI/API version is supposed to be > 20020429, and the php5 ABI version is supposed to be 20041030. I have > no idea where your '20050606' ABI/API comes from. > PHP5 support was added to mapserver version 4.6.1-5, see bug #333057. > Perhaps it is related to this problem? > I'm reducing the severity from grave to important, because I believe > the ABI/API date is correct for php4, and I've also been told that it > works for others. Grave severity would only be correct for this issue > if it was broken for everyone. Sorry, it *is* broken for everyone. The current version of PHP4 expects modules in /usr/lib/php4/20050606/, and packages using this interface need to depend on phpapi-20050606. You should be using php-config4 --extension-dir and php-config4 --phpapi respectively to determine these values, as the #defines PHP upstream provides in their headers for this are complete crap. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature