[mapserver-users] mapserver 5 configure with options does not work (fedora 7/8)

Frank Warmerdam warmerdam at pobox.com
Tue Apr 15 16:16:21 EDT 2008


Ningchuan Xiao wrote:
> Dear All,
> 
> I was wondering if anyone could please help me solve this problem. I 
> compiled MapServer 5.0.2 on Fedora 7 and 8. I installed all required 
> libraries/packages. If I configure MapServer without any options (i.e., 
> just use ./configure), the resulting file mapserv works fine if I copy 
> it to the cgi-bin folder.
> 
> However, if I configure it using any other options (such as --with-proj, 
> with proj4 successfully installed), I can compile MapServer with no 
> problem and can run mapserv -v. However, if I copy it to the cgi-bin 
> folder, it will not work. All I get is a blank page in the web browser 
> with no error messages.

Ningchuan,

I would guess this is because the extra options have shared libraries in
places that aren't searched under apache.  For instance, if libproj.so
is installed in /usr/local/lib and you haven't managed that properly via
ldconfig or LD_LIBRARY_PATH.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list