Hi Daniel,<br><br>gdal is in my home dir...<br><br>sebas@SeansPC:~/public_html/workshop-5.4$ echo $LD_LIBRARY_PATH<br>/u01/app/oracle/product/11.2.0/dbhome_1/lib:/home/sebas/gdal/lib<br><br>sebas@SeansPC:~/public_html/workshop-5.4$ ldd /usr/lib/cgi-bin/mapserv-custom | grep gdal<br>

        libgdal.so.1 => /home/sebas/gdal/lib/libgdal.so.1 (0x00007fc005571000)<br><br>sebas@SeansPC:~/public_html/workshop-5.4$ cat /etc/apache2/sites-enabled/000-default<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>

        </Location><br>...<br><br><br>??<br><br><br><div class="gmail_quote">On Wed, Aug 11, 2010 at 2:26 PM, Daniel Morissette <span dir="ltr"><<a href="mailto:dmorissette@mapgears.com">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;">Where is the new GDAL lib installed? Did you update your runtime libpath<br>
to point to the new GDAL lib location? And if so how ? (LD_LIBRARY_PATH<br>
or ld.so.conf?)<br>
<br>
If you used LD_LIBRARY_PATH, then you need to make sure the value is<br>
passed to your CGIs by Apache by adding a "PassEnv LD_LIBRARY_PATH"<br>
directive to your httpd.conf.<br>
<br>
Also, you can use the command "ldd mapserv-custom" to determine which<br>
copy of libgdal.so is being used.<br>
<br>
Daniel<br>
<div class="im"><br>
Sebastian E. Ovide wrote:<br>
> I have just built MapServer... just in case..<br>
><br>
> ./configure --with-gdal=/home/sebas/gdal/bin/gdal-config<br>
> make<br>
><br>
> sebas@SeansPC:~/mapserver/mapserver-5.6.5$ ./mapserv -v<br>
> MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP<br>
> OUTPUT=SVG SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV INPUT=EPPL7<br>
> INPUT=GDAL INPUT=SHAPEFILE<br>
><br>
><br>
> cd /usr/lib/cgi-bin/<br>
> ln -s /home/sebas/mapserver/mapserver-5.6.5/mapserv mapserv-custom<br>
><br>
> and changed index.html to point to mapserv-custom<br>
><br>
> the problem is still there...<br>
><br>
> any other ideas ?<br>
><br>
><br>
> On Wed, Aug 11, 2010 at 11:33 AM, Sebastian E. Ovide<br>
</div><div><div></div><div class="h5">> <<a href="mailto:sebastian.ovide@gmail.com">sebastian.ovide@gmail.com</a> <mailto:<a href="mailto:sebastian.ovide@gmail.com">sebastian.ovide@gmail.com</a>>> wrote:<br>


><br>
>     Hi All,<br>
><br>
>     I've installed MapServer via ubuntugis repo and build gdal by hand<br>
>     in order to support oracle<br>
><br>
>     sebas@SeansPC:~/mapserver$ /usr/lib/cgi-bin/mapserv -v<br>
>     MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG<br>
>     OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG<br>
>     SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI<br>
>     SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER<br>
>     SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER<br>
>     SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG<br>
>     INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br>
><br>
><br>
>     sebas@SeansPC:~/mapserver$ gdalinfo --version<br>
>     GDAL 1.7.2, released 2010/04/23<br>
>     sebas@SeansPC:~/mapserver$ gdalinfo --formats | grep GeoRaster<br>
>       GeoRaster (rw+): Oracle Spatial GeoRaster<br>
>     sebas@SeansPC:~/mapserver$ which gdalinfo<br>
>     /home/sebas/gdal/bin/gdalinfo<br>
><br>
><br>
>     now I'm trying to use MapServer with gdal to read GeoRasters but I'm<br>
>     getting this error:<br>
><br>
>     georaster:geoserver,geoserver,MFPRODUK_11G,LSLIDE_V5_RASTER,georaster,id=1<br>
><br>
>     and from command line:<br>
><br>
>     sebas@SeansPC:~/mapserver$ gdalinfo<br>
>     georaster:geoserver,geoserver,MFPRODUK_11G,LSLIDE_V5_RASTER,georaster,id=1<br>
>     Driver: GeoRaster/Oracle Spatial GeoRaster<br>
>     Files: none associated<br>
>     Size is 24402, 49770<br>
>     Coordinate System is:<br>
>     PROJCS["British National Grid",<br>
>         GEOGCS["Ordnance Survey Great Brit",<br>
>             DATUM["Ordnance Survey Great Brit",<br>
>                 SPHEROID["Airy<br>
>     1830",6377563.396,299.3249646],375,-111,431,0,0,0,1],<br>
>             PRIMEM["Greenwich",0.000000],<br>
>             UNIT["Decimal Degree",0.01745329251994330]],<br>
>         PROJECTION["Transverse_Mercator"],<br>
>         PARAMETER["Scale_Factor",0.9996012717],<br>
>         PARAMETER["Central_Meridian",-2.000000],<br>
>         PARAMETER["Latitude_Of_Origin",49.000000],<br>
>         PARAMETER["False_Easting",400000.000000],<br>
>         PARAMETER["False_Northing",-100000.000000],<br>
>         UNIT["Meter",1.000000000000]]<br>
>     Origin = (49950.000000000000000,1250050.000000000000000)<br>
>     Pixel Size = (25.000000000000000,-25.000000000000000)<br>
>     Image Structure Metadata:<br>
>       INTERLEAVE=PIXEL<br>
>       COMPRESSION=DEFLATE<br>
>     Corner Coordinates:<br>
>     Upper Left  (   49950.000, 1250050.000) (  8d28'31.89"W, 60d58'39.59"N)<br>
>     Lower Left  (   49950.000,    5800.000) (  6d52'14.32"W, 49d50'57.59"N)<br>
>     Upper Right (  660000.000, 1250050.000) (  2d49'4.15"E, 61d 2'50.13"N)<br>
>     Lower Right (  660000.000,    5800.000) (  1d37'14.80"E, 49d53'42.66"N)<br>
>     Center      (  354975.000,  627925.000) (  2d42'48.98"W, 55d32'34.62"N)<br>
>     Band 1 Block=256x256 Type=Byte, ColorInterp=Gray<br>
>       NoData Value=255<br>
>       Overviews: 12201x24885, 6100x12442, 3050x6221, 1525x3110,<br>
>     762x1555, 381x777, 190x388, 95x194<br>
><br>
><br>
>     So I suspects that MapServer is using the wrong gdal...<br>
><br>
>     is gdal binding hardcoded into MapServer ? or MapServer would use<br>
>     gdal from the path ?<br>
><br>
>     Thanks<br>
>     --<br>
>     Sebastian E. Ovide<br>
><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Sebastian E. Ovide<br>
><br>
><br>
><br>
><br>
><br>
</div></div><div class="im">> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">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>
<br>
<br>
--<br>
</div><font color="#888888">Daniel Morissette<br>
<a href="http://www.mapgears.com/" target="_blank">http://www.mapgears.com/</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">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>-- <br>Sebastian E. Ovide<br><br><br><br><br>