Set up gdal on Ubuntu 14.04
Recently, I updated my system to Ubuntu 14.04 and now I noticed that gdal is not running in Python anymore!
Importing gdal (respectively ‘osgeo’) broke with a command, that ended like:
"...version GDAL_1.8 not defined in file libgdal.so.1 with link time reference"
After a little investigation…I decided to (Re-) build gdal from source…like suggested:
But in contrast to the description…I installed the latest stable version of gdal (1.11.0):
So, here’s what I did:
Ctrl+Alt+T (Open terminal) cd ~/folder/for/builds/from/source sudo apt-get install build-essential python-all-dev wget http://download.osgeo.org/gdal/1.11.0/gdal-1.11.0.tar.gz tar xvfz gdal-1.11.0.tar.gz cd gdal-1.11.0 ./configure --with-python make sudo make install
The answer on http://gis.stackexchange.com/ recommends also to update the shared library cache…but this was not necessary, in my case!
Now it works perfect…again!