[Ubuntu] “libSFCGAL.so.1: undefined symbol” with Postgis 2.2.1

Luí­s de Sousa luis.de.sousa at protonmail.ch
Mon Aug 8 02:11:30 PDT 2016


Dear all,

I have recently upgraded a workstation to Ubuntu 16.04 and since then I am not able to use PostGis. I have the following set up (from the unstable PPA):

- postgresql-9.5

- postgresql-9.5-postgis-2.2 (2.2.1+dfsg-3~xenial0)

- postgis (2.2.1+dfsg-3~xenial0)



Whenever I try to create the extension or use anything related to PostGIS I get this error:
# CREATE EXTENSION postgis; ERROR: could not load library "/usr/lib/postgresql/9.5/lib/postgis-2.2.so": /usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined symbol: _ZN5osgDB13writeNodeFileERKN3osg4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS_7OptionsE

However, I have the SFCGAL headers and debug symbols installed:

$ dpkg -l | grep sfcgal ii libsfcgal-dev 1.2.2-1 amd64 Library for ISO 19107:2013 and OGC SFA 1.2 for 3D operations (dev part) ii libsfcgal1 1.2.2-1 amd64 Library for ISO 19107:2013 and OGC SFA 1.2 for 3D operations (runtime part) ii sfcgal-bin 1.2.2-1 amd64 Simple viewer for SFCGAL library ii sfcgal-dbg 1.2.2-1 amd64 Debug symbols for SFCGAL


What is going wrong? Thank you,

Luís


Sent from [ProtonMail](https://protonmail.ch), encrypted email based in Switzerland.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/ubuntu/attachments/20160808/e4ddfe2f/attachment.html>


More information about the Ubuntu mailing list