Skip to content

Geos installation on centos6

mgifford edited this page Nov 28, 2012 · 13 revisions
cd /usr/share
wget http://download.osgeo.org/geos/geos-3.3.6.tar.bz2  # Note this changes
tar -xvjf geos-3.3.6.tar.bz2
cd geos-3.3.6
./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