Error loading PHPMapScript 4.10.0 - undefined symbol: __gcov_merge_add

Eduardo Patto Kanegae epk.lists at GMAIL.COM
Sat Nov 11 09:43:08 PST 2006


Hi folks,

After a lot of different ways of configuring MapServer, I finally got
MapServer and PHP/MapScript running without the errors I said below. How?
1. The configure command:
 ./configure --disable-ignore-missing-data --enable-point-z-m --enable-debug
--disable-coverage --with-freetype --with-zlib --with-png --with-jpeg
--with-xpm --with-gd --without-pdf --with-eppl --with-proj --with-threads
--with-geos=/usr/local/bin/geos-config --with-ogr --with-gdal --without-tiff
--with-postgis --with-mygis --without-oraclespatial --without-ming
--with-wms --with-wfs --with-wcs --with-wmsclient --with-wfsclient
--with-sos --with-curl-config=/usr/bin/curl-config
--with-xml2-config=/usr/bin/xml2-config --without-fastcgi
--with-httpd=/usr/sbin/httpd --with-php=/usr/include/php 2>&1 | tee
configure.log

2. And also two little hand-made modifications:
2.a) Makefile - at line 218 I removed "-fprofile-arcs -ftest-coverage "
options
2.b) mapscript/php3/Makefile - at line 38 I removed "-fprofile-arcs
-ftest-coverage " options

I just didn't understand why these options was turned on if I set
--disable-coverage with ./configure script.

regards,

Eduardo

On 10/30/06, Eduardo Patto Kanegae <epk.lists at gmail.com> wrote:
>
> Hi,
>
> I built MapServer/MapScript 4.10.0 and php_mapscript.so was sucessfull
> generated after make command.
>
> CGI MapServer is working fine, but when I try dl("php_mapscript.so") I
> got the message:
>
>
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/usr/lib/php/modules/php_mapscript.so' -
> /usr/lib/php/modules/php_mapscript.so: undefined symbol:
> __gcov_merge_add in /var/www/html/mapserver-samples/test1.php on line
> 2
>
>
> And another strange thing: when I run any binary command such as
> shptree, tile4ms, msencrypt, etc...after the normal output messages, a
> lot of lines of warnings appear, like this:
> ...
> profiling:/usr/src/webmapit/mapserver-4.10.0/mapserv.gcda:Cannot open
> ...
>
> any suggestion?
>
> best
> --
> Eduardo Patto Kanegae
> http://www.webmapit.com.br
>



-- 
Eduardo Patto Kanegae
http://www.webmapit.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061111/b11854a7/attachment.htm>


More information about the MapServer-users mailing list