I'm not sure I've got this done correctly as I went thru lots of iterations removing packages and had to build geos and gdal to get recent versions. I'm not sure all went correctly but I do have a working version of Mapscript now on this server. I'll just have to keep testing my application and see if it crashes due to something missing.
Thanks again for you help. Worth _____ From: Cristiano Sumariva [mailto:[email protected]] Sent: Saturday, July 03, 2010 12:55 PM To: Worth Lutz Subject: Re: [mapserver-users] problem installing mapscript If you switch to source based you may need download and compile the sources dependencies too. And if you do this, you should remove the system binary packages from your package manager that implement those libraries. For the PHP message you should try locate the file named libgeos-3.2.0: find / -iname libgeos-3.2.0 then try create a symlink in your library dir to point to that file. If you do not find any geos file go to geos site, download a recent( do not need be the latest ) version then compile it. After recompile mapserver again. Not forget to execute a make clean and run configure again so configure can look for the new geos and prepare source code. Fot the libpq messages maybe that a wrong symlink is causing those warnings. You can try check if libpq.so.4 is a symlink. If symlink then remove it and make a new one to point to libpq.so.5 ln -s libpq.so.5 pibpq.so.4 I got some similar messages once when I compiled mapserver from source on a gentoo distribution( all source based package system ). Hope it helps any. 2010/7/3 Worth Lutz <[email protected]> This is my first time trying to install mapserver without using a package. I have not found a RPM for mapserver 5.6.3 for RHEL5 I downloaded mapserver and did the configure and make. After installing all the missing libs I thought I had it done. After copying moving php_mapscript.so to the proper location, I find that upon restarting apache it does not load. Here is the message from the error log. ---snip------- PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mapscript.so' - libgeos-3.2.0.so: cannot open shared object file: No such file or directory in Unknown on line 0 ---snip------- In an effort to correct this, I downloaded and installed libgeos and tried to install it. I also tried to install a rpm with libgeos 3.1.1. Mapscript still does not load and I find the following warnings when I run make. ---snip------- /usr/bin/ld: warning: libpq.so.4, needed by /usr/lib64/libgdal.so, may conflict with libpq.so.5 /usr/bin/ld: warning: libpq.so.4, needed by /usr/lib64/libgdal.so, may conflict with libpq.so.5 /usr/bin/ld: warning: libpq.so.4, needed by /usr/lib64/libgdal.so, may conflict with libpq.so.5 /usr/bin/ld: warning: libssl.so.4, needed by /opt/PostgreSQL/8.4/lib/libpq.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libcrypto.so.4, needed by /opt/PostgreSQL/8.4/lib/libpq.so, not found (try using -rpath or -rpath-link) ---snip------- I really have no idea what I am doing and wonder if I have totally messed up this system. Can someone point me in the right direction?? Worth _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
