Hi All, problem solved rebuilding MapServer and using the new build....
thanks On Wed, Aug 11, 2010 at 4:09 PM, Sebastian E. Ovide < sebastian.ov...@gmail.com> wrote: > yes, the mapserv is readin gthe wrong lib... > > I have just added those PassEnv... > > > <Location "/cgi-bin/"> > SetEnv ORACLE_HOME > "/u01/app/oracle/product/11.2.0/dbhome_1" > SetEnv TNS_ADMIN "/home/sebas/gdal/" > SetEnv LD_LIBRARY_PATH > "/u01/app/oracle/product/11.2.0/dbhome_1/lib:/home/sebas/gdal/lib" > 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" > PassEnv LD_LIBRARY_PATH > PassEnv ORACLE_HOME > PassEnv TNS_ADMIN > PassEnv PATH > </Location> > > and renamed the wrong lib (the "dirty trick")l... and still it is trying to > read from the wrong libgdal.... > > any ideas ? > > > > On Wed, Aug 11, 2010 at 3:56 PM, Daniel Morissette < > dmorisse...@mapgears.com> wrote: > >> Daniel Morissette wrote: >> > As I wrote in my previous email, try adding >> > >> > PassEnv LD_LIBRARY_PATH >> > >> > ... to your httpd.conf so that the CGIs get the LD_LIBRARY_PATH value. >> > >> > You'll probably also need a PassEnv directive for all the other env vars >> > that you are setting if you want the CGI to get them. >> > >> >> BTW, by "httpd.conf" I meant "in your Apache config". Adding the PassEnv >> in the <Location "/cgi-bin/"> block in your >> /etc/apache2/sites-enabled/000-default file after the corresponding >> SetEnv directives should do as well. >> >> -- >> Daniel Morissette >> http://www.mapgears.com/ >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > > > -- > Sebastian E. Ovide > > > > > -- Sebastian E. Ovide
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users