[mapserver-users] --with-gdal problem

Vid Bijelic zoops4 at yahoo.com
Thu Jan 17 07:39:10 PST 2002


Hi,

This problem is so common that solution should be
included in installation instructions.  

I had a similar problem with Proj4, here is the e-mail
help I received.

------------------------
You probably installed proj.4 in a place that has no
entry in
/etc/ld.so.conf. Add a line like

/usr/local/GIS/lib

or wherever your library is to /etc/ld.so.conf and run
the 'ldconfig'
command.
-------------------------

I user ldconfig -v

Vid


--- Dylan Keon <keon at nacse.org> wrote:
> Hello all,
> 
> I successfully configured and installed MapServer
> 3.5 (including
> MapScript) with PHP 4.0.6 on my Linux box. After
> reading a bit more, I
> decided to reconfigure and compile with gdal. I
> configured/compiled gdal,
> reconfigured/recompiled mapserver (doing make clean,
> then make), and
> replaced the old mapserv binary in my cgi-bin
> directory with the new
> mapserv.  However, when trying to access the Itasca
> demo, I received a 500
> error.  The server log says "mapserv: error while
> loading shared
> libraries: libgdal.1.1.so: cannot load shared object
> file: No such file or
> directory."
> 
> libgdal.1.1.so was successfully created.  Do I just
> have it in the wrong
> place?  Or am I doing something else wrong?  It's in
> the directory that
> --with-gdal was pointed to when configuring
> MapServer.  I
> reconfigured/recompiled MapServer without gdal and
> it worked just fine
> once again.
> 
> Thanks from a newbie :-)
> 
> --Dylan Keon
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



More information about the MapServer-users mailing list