Re: [mapserver-users] Re: GeoRaster via gdal on Ubuntu

2010-08-12 Thread Sebastian E. Ovide
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... > > > > SetEnv OR

Re: [mapserver-users] Re: GeoRaster via gdal on Ubuntu

2010-08-11 Thread Sebastian E. Ovide
yes, the mapserv is readin gthe wrong lib... I have just added those PassEnv... 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_

Re: [mapserver-users] Re: GeoRaster via gdal on Ubuntu

2010-08-11 Thread Daniel Morissette
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

Re: [mapserver-users] Re: GeoRaster via gdal on Ubuntu

2010-08-11 Thread Daniel Morissette
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. Daniel Sebastian E. Ovid

Re: [mapserver-users] Re: GeoRaster via gdal on Ubuntu

2010-08-11 Thread Sebastian E. Ovide
Hi Daniel, gdal is in my home dir... se...@seanspc:~/public_html/workshop-5.4$ echo $LD_LIBRARY_PATH /u01/app/oracle/product/11.2.0/dbhome_1/lib:/home/sebas/gdal/lib se...@seanspc:~/public_html/workshop-5.4$ ldd /usr/lib/cgi-bin/mapserv-custom | grep gdal libgdal.so.1 => /home/sebas/gdal

Re: [mapserver-users] Re: GeoRaster via gdal on Ubuntu

2010-08-11 Thread Daniel Morissette
Where is the new GDAL lib installed? Did you update your runtime libpath to point to the new GDAL lib location? And if so how ? (LD_LIBRARY_PATH or ld.so.conf?) If you used LD_LIBRARY_PATH, then you need to make sure the value is passed to your CGIs by Apache by adding a "PassEnv LD_LIBRARY_PATH"

[mapserver-users] Re: GeoRaster via gdal on Ubuntu

2010-08-11 Thread Sebastian E. Ovide
I have just built MapServer... just in case.. ./configure --with-gdal=/home/sebas/gdal/bin/gdal-config make se...@seanspc:~/mapserver/mapserver-5.6.5$ ./mapserv -v MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV INPUT=