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/lib/libgdal.so.1 (0x00007fc005571000) se...@seanspc:~/public_html/workshop-5.4$ cat /etc/apache2/sites-enabled/000-default ... <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" </Location> ... ?? On Wed, Aug 11, 2010 at 2:26 PM, Daniel Morissette <dmorisse...@mapgears.com > wrote: > 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" > directive to your httpd.conf. > > Also, you can use the command "ldd mapserv-custom" to determine which > copy of libgdal.so is being used. > > Daniel > > Sebastian E. Ovide wrote: > > 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=EPPL7 > > INPUT=GDAL INPUT=SHAPEFILE > > > > > > cd /usr/lib/cgi-bin/ > > ln -s /home/sebas/mapserver/mapserver-5.6.5/mapserv mapserv-custom > > > > and changed index.html to point to mapserv-custom > > > > the problem is still there... > > > > any other ideas ? > > > > > > On Wed, Aug 11, 2010 at 11:33 AM, Sebastian E. Ovide > > <sebastian.ov...@gmail.com <mailto:sebastian.ov...@gmail.com>> wrote: > > > > Hi All, > > > > I've installed MapServer via ubuntugis repo and build gdal by hand > > in order to support oracle > > > > se...@seanspc:~/mapserver$ /usr/lib/cgi-bin/mapserv -v > > MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG > > OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG > > SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI > > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER > > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER > > SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG > > INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > > > > > se...@seanspc:~/mapserver$ gdalinfo --version > > GDAL 1.7.2, released 2010/04/23 > > se...@seanspc:~/mapserver$ gdalinfo --formats | grep GeoRaster > > GeoRaster (rw+): Oracle Spatial GeoRaster > > se...@seanspc:~/mapserver$ which gdalinfo > > /home/sebas/gdal/bin/gdalinfo > > > > > > now I'm trying to use MapServer with gdal to read GeoRasters but I'm > > getting this error: > > > > > georaster:geoserver,geoserver,MFPRODUK_11G,LSLIDE_V5_RASTER,georaster,id=1 > > > > and from command line: > > > > se...@seanspc:~/mapserver$ gdalinfo > > > georaster:geoserver,geoserver,MFPRODUK_11G,LSLIDE_V5_RASTER,georaster,id=1 > > Driver: GeoRaster/Oracle Spatial GeoRaster > > Files: none associated > > Size is 24402, 49770 > > Coordinate System is: > > PROJCS["British National Grid", > > GEOGCS["Ordnance Survey Great Brit", > > DATUM["Ordnance Survey Great Brit", > > SPHEROID["Airy > > 1830",6377563.396,299.3249646],375,-111,431,0,0,0,1], > > PRIMEM["Greenwich",0.000000], > > UNIT["Decimal Degree",0.01745329251994330]], > > PROJECTION["Transverse_Mercator"], > > PARAMETER["Scale_Factor",0.9996012717], > > PARAMETER["Central_Meridian",-2.000000], > > PARAMETER["Latitude_Of_Origin",49.000000], > > PARAMETER["False_Easting",400000.000000], > > PARAMETER["False_Northing",-100000.000000], > > UNIT["Meter",1.000000000000]] > > Origin = (49950.000000000000000,1250050.000000000000000) > > Pixel Size = (25.000000000000000,-25.000000000000000) > > Image Structure Metadata: > > INTERLEAVE=PIXEL > > COMPRESSION=DEFLATE > > Corner Coordinates: > > Upper Left ( 49950.000, 1250050.000) ( 8d28'31.89"W, > 60d58'39.59"N) > > Lower Left ( 49950.000, 5800.000) ( 6d52'14.32"W, > 49d50'57.59"N) > > Upper Right ( 660000.000, 1250050.000) ( 2d49'4.15"E, 61d > 2'50.13"N) > > Lower Right ( 660000.000, 5800.000) ( 1d37'14.80"E, > 49d53'42.66"N) > > Center ( 354975.000, 627925.000) ( 2d42'48.98"W, > 55d32'34.62"N) > > Band 1 Block=256x256 Type=Byte, ColorInterp=Gray > > NoData Value=255 > > Overviews: 12201x24885, 6100x12442, 3050x6221, 1525x3110, > > 762x1555, 381x777, 190x388, 95x194 > > > > > > So I suspects that MapServer is using the wrong gdal... > > > > is gdal binding hardcoded into MapServer ? or MapServer would use > > gdal from the path ? > > > > Thanks > > -- > > Sebastian E. Ovide > > > > > > > > > > > > > > -- > > Sebastian E. Ovide > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > -- > 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
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users