mapscript installation on debian

Lehuta Juraj - OZ Juraj.Lehuta at SVP.SK
Thu Mar 24 08:52:40 EST 2005


Hi,
I have changed my debian system,
(installed php-cgi) and now I obtain this:

Warning: dl(): Unable to load dynamic library
'/usr/lib/php4/20020429-zts/php_mapscript.so' -
/usr/lib/php4/20020429-zts/php_mapscript.so: undefined symbol:
getExteriorRing__10OGRPolygon in /var/www/test.php on line 2

It seams, that mapscript is working, but not very good... :o(

WochteR



-----Original Message-----
From: wlx [mailto:wlx at mygis.org]
Sent: Wednesday, March 23, 2005 4:07 PM
To: 'Lehuta Juraj - OZ'
Subject: Re: [UMN_MAPSERVER-USERS] mapscript installation on debian

Hi,
    Debian's default apache2 package was compiled with thread safety,but php
mapscript is not thread safety now(I am not sure of this), so you must
compile the php as cgi mode.
   I do it in my Debian Sarge system.
   May it help you to solve the problem.

   Best regards,

Yours sincerely,

Liangxu Wang

> Hello,
> I've got debian and I have tried to install mapscript from debian
> packages.
>
> When I test mapscript with:
> <?php
> dl("php_mapscript.so");
> phpinfo();
> ?>
>
> I obtain this:
> Warning: dl(): MapScript: Unable to initialize module Module compiled
> with module API=20020429, debug=0, thread-safety=0 PHP compiled with
> module API=20020429, debug=0,
> thread-safety=1 These options need to match in /var/www/test.php on
> line 2
>
> What does it mean, pease?
>
> thanx
>
> WochteR
>
>



More information about the mapserver-users mailing list