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

Sebastian E. Ovide sebastian.ovide at gmail.com
Thu Aug 12 02:14:15 PDT 2010


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.ovide at 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 <
> 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
>
>
>
>
>


-- 
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100812/d06dabca/attachment.htm>


More information about the MapServer-users mailing list