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...
Location /cgi-bin/
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
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 =
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.
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
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