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
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_
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
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
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
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"
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=