Hi All,<br><br>problem solved rebuilding MapServer and using the new build....<br><br>thanks<br><br><div class="gmail_quote">On Wed, Aug 11, 2010 at 4:09 PM, Sebastian E. Ovide <span dir="ltr"><<a href="mailto:sebastian.ovide@gmail.com">sebastian.ovide@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">yes, the mapserv is readin gthe wrong lib...<br><br>I have just added those PassEnv...<div class="im">
<br><br> <Location "/cgi-bin/"><br> SetEnv ORACLE_HOME "/u01/app/oracle/product/11.2.0/dbhome_1"<br>
SetEnv TNS_ADMIN "/home/sebas/gdal/"<br> SetEnv LD_LIBRARY_PATH "/u01/app/oracle/product/11.2.0/dbhome_1/lib:/home/sebas/gdal/lib"<br> SetEnv PATH "/home/sebas/gdal/src/swig/python/scripts:/u01/app/oracle/product/11.2.0/dbhome_1/bin:/home/sebas/gdal/bin:/home/sebas/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin"<br>
</div>
PassEnv LD_LIBRARY_PATH<br> PassEnv ORACLE_HOME<br> PassEnv TNS_ADMIN<br> PassEnv PATH<br> </Location><br><br>and renamed the wrong lib (the "dirty trick")l... and still it is trying to read from the wrong libgdal....<br>
<br>any ideas ?<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Wed, Aug 11, 2010 at 3:56 PM, Daniel Morissette <span dir="ltr"><<a href="mailto:dmorissette@mapgears.com" target="_blank">dmorissette@mapgears.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Daniel Morissette wrote:<br>
> As I wrote in my previous email, try adding<br>
><br>
> PassEnv LD_LIBRARY_PATH<br>
><br>
> ... to your httpd.conf so that the CGIs get the LD_LIBRARY_PATH value.<br>
><br>
> You'll probably also need a PassEnv directive for all the other env vars<br>
> that you are setting if you want the CGI to get them.<br>
><br>
<br>
</div>BTW, by "httpd.conf" I meant "in your Apache config". Adding the PassEnv<br>
in the <Location "/cgi-bin/"> block in your<br>
/etc/apache2/sites-enabled/000-default file after the corresponding<br>
SetEnv directives should do as well.<br>
<div><div></div><div><br>
--<br>
Daniel Morissette<br>
<a href="http://www.mapgears.com/" target="_blank">http://www.mapgears.com/</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888">Sebastian E. Ovide<br><br><br><br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Sebastian E. Ovide<br><br><br><br><br>