[Ubuntu] Ubuntu GIS unstable, Precise, and GDAL

Mathieu Leplatre mathieu.leplatre at makina-corpus.com
Thu Aug 7 09:43:49 PDT 2014


Le 07/08/2014 17:08, Howard Butler a écrit :
> 
> On Aug 7, 2014, at 9:50 AM, Jerome Villeneuve Larouche <jlarouche at mapgears.com> wrote:
> 
>> Hi Howard,
>>
>> In your travis log I see that you are using the PostgreSQL custom repo. Their repo isn't compatible with UbuntuGIS since they build a version of PostGIS for 9.3 using the standard libgdal in Ubuntu which conflicts with libgdal1h. That is probably where your problem is coming from.
> 
> Aha!  That's Travis adding the PostgreSQL/PostGIS repos, not me. 
> 
> http://docs.travis-ci.com/user/using-postgresql/ doesn't appear to show how to shut those repos off though
>

I struggled a lot too with GDAL under Precise along with UbuntuGIS-stable...


In the end, I could continue to use Travis with the following hacky commands:

sudo apt-get download -y libgdal-dev
sudo dpkg-deb -x libgdal-dev*.deb /
sudo ln -sf /usr/lib/libgdal.so.1 /usr/lib/libgdal.so
sudo ldconfig

At least, it was enough for the GDAL python package to be installed and run :)

Good luck !

Mathieu



> Howard
> _______________________________________________
> UbuntuGIS mailing list
> Ubuntu at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/ubuntu
> http://trac.osgeo.org/ubuntugis/wiki
> 

-- 
Mathieu Leplatre
Makina Corpus - Toulouse
www.makina-corpus.com
+33 (0)9 53 73 22 74
http://github.com/leplatrem


More information about the Ubuntu mailing list