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">&lt;<a href="mailto:sebastian.ovide@gmail.com">sebastian.ovide@gmail.com</a>&gt;</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>        &lt;Location &quot;/cgi-bin/&quot;&gt;<br>                SetEnv ORACLE_HOME &quot;/u01/app/oracle/product/11.2.0/dbhome_1&quot;<br>

                SetEnv TNS_ADMIN &quot;/home/sebas/gdal/&quot;<br>                SetEnv LD_LIBRARY_PATH &quot;/u01/app/oracle/product/11.2.0/dbhome_1/lib:/home/sebas/gdal/lib&quot;<br>                SetEnv PATH &quot;/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&quot;<br>

</div>

                PassEnv LD_LIBRARY_PATH<br>                PassEnv ORACLE_HOME<br>                PassEnv TNS_ADMIN<br>                PassEnv PATH<br>        &lt;/Location&gt;<br><br>and renamed the wrong lib (the &quot;dirty trick&quot;)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">&lt;<a href="mailto:dmorissette@mapgears.com" target="_blank">dmorissette@mapgears.com</a>&gt;</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>
&gt; As I wrote in my previous email, try adding<br>
&gt;<br>
&gt;   PassEnv LD_LIBRARY_PATH<br>
&gt;<br>
&gt; ... to your httpd.conf so that the CGIs get the LD_LIBRARY_PATH value.<br>
&gt;<br>
&gt; You&#39;ll probably also need a PassEnv directive for all the other env vars<br>
&gt; that you are setting if you want the CGI to get them.<br>
&gt;<br>
<br>
</div>BTW, by &quot;httpd.conf&quot; I meant &quot;in your Apache config&quot;. Adding the PassEnv<br>
in the &lt;Location &quot;/cgi-bin/&quot;&gt; 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>