<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">ok, i forgot that at the beginning of the startup script (/..../apache-tomcat../bin/startup.sh) of your tomcat installation, you must write a line like
</blockquote><div><br>&nbsp;export LD_LIBRARY_PATH= path_where_you_have_libmapscript.so<br></div><br></div><br><br clear="all"><br>-- <br>Alejandro Rico