Skip to content

Geos installation on centos6

phayes edited this page Aug 28, 2012 · 13 revisions
cd /usr/share
wget http://download.osgeo.org/geos/geos-3.3.2.tar.bz2
tar -xvjf geos-3.3.2.tar.bz2
cd geos-3.3.2
./configure --enable-php && make clean && make
make install
ldconfig
vi /etc/ld.so.conf

Add the line: /usr/local/lib

Save (ESC -> :x)

Run ldconfig: /sbin/ldconfig

create a /etc/php.d/geos.ini file with the following content: ; GEOS extension extension=geos.so

Clone this wiki locally