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

Sebastian E. Ovide sebastian.ovide at gmail.com
Wed Aug 11 11:09:35 EDT 2010


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 <dmorissette at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100811/3a584c95/attachment.html


More information about the mapserver-users mailing list