[mapserver-users] problem installing mapscript

Worth Lutz wal3 at mindspring.com
Sat Jul 3 05:29:48 PDT 2010


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




More information about the MapServer-users mailing list