<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I tried to reproduce the problem but for me everything was working
fine with a fresh install of php5, apache2, mapserver and
php5-mapscript in Lucid i386.<br>
<br>
<br>
On 12-06-14 03:47 AM, Pavel Iacovlev wrote:
<blockquote
cite="mid:CAHWp1L8GHsEkAtV267e_wKJfNo+8B0HnwA9Azcyp7+JkzbBXiQ@mail.gmail.com"
type="cite">
<div>php5-mapscript_6.0.3-2~lucid2_i386.deb is not usable at
all at the moment reverted
to php5-mapscript_6.0.1-1~lucid1_i386.deb for now, standard php
scripts run fine.</div>
<div><br>
</div>
PHP script to reproduce the issue:
<div>
<div><?php</div>
<div>$map = ms_newMapObj();</div>
</div>
<div><br>
</div>
<div>Error message:</div>
<div>/usr/sbin/apache2: symbol lookup error:
/usr/lib/php5/20090626+lfs/php_mapscript.so: undefined symbol:
php_output_get_level</div>
<div><br>
</div>
<div>Trace:</div>
<div>
<div>GNU gdb (GDB) 7.1-ubuntu</div>
<div>Copyright (C) 2010 Free Software Foundation, Inc.</div>
<div>License GPLv3+: GNU GPL version 3 or later <<a
moz-do-not-send="true"
href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>></div>
<div>This is free software: you are free to change and
redistribute it.</div>
<div>There is NO WARRANTY, to the extent permitted by law. Type
"show copying"</div>
<div>and "show warranty" for details.</div>
<div>This GDB was configured as "i486-linux-gnu".</div>
<div>For bug reporting instructions, please see:</div>
<div><<a moz-do-not-send="true"
href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>...</div>
<div>Reading symbols from /usr/bin/php...(no debugging symbols
found)...done.</div>
<div>(gdb) run map.php</div>
<div>Starting program: /usr/bin/php map.php</div>
<div>[Thread debugging using libthread_db enabled]</div>
<div>
<br>
</div>
<div>Program received signal SIGSEGV, Segmentation fault.</div>
<div>0x08325a1f in ?? ()</div>
<div>(gdb) bt</div>
<div>#0 0x08325a1f in ?? ()</div>
<div>#1 0x08325bb7 in zend_throw_exception ()</div>
<div>#2 0x08325c30 in zend_throw_error_exception ()</div>
<div>#3 0xb7638226 in xdebug_error_cb (type=1,
error_filename=0x893b954 "/home/ue/tmp/map.php",
error_lineno=2, format=0x871ddb0 "Uncaught %s\n thrown",</div>
<div> args=0xbfffd240 "Ⱦ\223\b\214\322\377\277") at
/build/buildd/xdebug-2.0.5/build-php5/xdebug.c:2311</div>
<div>#4 0x08324f6c in ?? ()</div>
<div>#5 0x0832515f in zend_exception_error ()</div>
<div>#6 0x0830bff0 in zend_execute_scripts ()</div>
<div>#7 0x082b01c4 in php_execute_script ()</div>
<div>#8 0x083a2f48 in ?? ()</div>
<div>#9 0xb7984bd6 in __libc_start_main () from
/lib/tls/i686/cmov/libc.so.6</div>
<div>#10 0x0806b201 in _start ()</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
UbuntuGIS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ubuntu@lists.osgeo.org">Ubuntu@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/ubuntu">http://lists.osgeo.org/mailman/listinfo/ubuntu</a>
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/ubuntugis/wiki">http://trac.osgeo.org/ubuntugis/wiki</a>
</pre>
</blockquote>
<br>
</body>
</html>