[Ubuntu] Where to get a version of libgeos-c1 compatible with libgeos-3.5.0?

Luí­s de Sousa luis.de.sousa at protonmail.ch
Tue Jul 19 04:23:26 PDT 2016


Hi Sebastiaan,

I do not compile any GIS software, I install everything from the UbuntuGIS PPA. But following your comments, let me step back to the root of this issue. I have libgdal20 installed:

$ apt search libgdal20
Sorting... Done
Full Text Search... Done
libgdal20/trusty,now 2.1.0+dfsg-1~trusty1 amd64 [installed]
Geospatial Data Abstraction Library

libgdal20-2.1.0-grass/trusty 2.1.0-1~trusty1 amd64
GRASS extension for the GDAL library

However, when I try to use GDAL/OGR from Python I get an exception:

$ python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from osgeo import ogr
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.4/dist-packages/osgeo/__init__.py", line 21, in <module>
_gdal = swig_import_helper()
File "/usr/local/lib/python3.4/dist-packages/osgeo/__init__.py", line 17, in swig_import_helper
_mod = imp.load_module('_gdal', fp, pathname, description)
File "/usr/lib/python3.4/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
ImportError: libgdal.so.1: cannot open shared object file: No such file or directory

That's what lead me to libgdal1h. Perhaps I should try to get this file from some other package, but which?

Thank you,

Luís




-------- Original Message --------
Subject: Re: [Ubuntu] Where to get a version of libgeos-c1 compatible with libgeos-3.5.0?
Local Time: 19 July 2016 12:25 PM
UTC Time: 19 July 2016 10:25
From: sebastic at xs4all.nl
To: ubuntu at lists.osgeo.org

GDAL has been upgraded to 2.1.0, which provides libgdal20 not libgdal1h.

See my other message about the need to rebuild all reverse dependencies
with the new library packages.

Kind Regards,

Bas

--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
_______________________________________________
UbuntuGIS mailing list
Ubuntu at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/ubuntu/attachments/20160719/ebb8a40b/attachment-0001.html>


More information about the Ubuntu mailing list