<div>Dear all,<br></div><div><br></div><div>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):<br></div><div><br></div><li><code>postgresql-9.5</code><br></li><li><code>postgresql-9.5-postgis-2.2</code> (2.2.1+dfsg-3~xenial0)<br></li><li><code>postgis</code> (2.2.1+dfsg-3~xenial0)<br></li><div><br></div><div>Whenever I try to create the extension or use anything related to PostGIS I get this error:<br></div><pre style="" class="lang-sql prettyprint prettyprinted"><code><span class="pun">#</span><span class="pln"> </span><span class="kwd">CREATE</span><span class="pln"> EXTENSION postgis</span><span class="pun">;</span><span class="pln">
ERROR</span><span class="pun">:</span><span class="pln"> could </span><span class="kwd">not</span><span class="pln"> </span><span class="kwd">load</span><span class="pln"> library </span><span class="str">"/usr/lib/postgresql/9.5/lib/postgis-2.2.so"</span><span class="pun">:</span><span class="pln"> </span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">lib</span><span class="pun">/</span><span class="pln">x86_64-linux-gnu</span><span class="pun">/</span><span class="pln">libSFCGAL</span><span class="pun">.</span><span class="pln">so</span><span class="lit">.1</span><span class="pun">:</span><span class="pln"> undefined symbol</span><span class="pun">:</span><span class="pln"> _ZN5osgDB13writeNodeFileERKN3osg4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS_7OptionsE</span></code><br></pre><div>However, I have the SFCGAL headers and debug symbols installed:<br></div><div><br></div><pre style="" class="lang-sql prettyprint prettyprinted"><code><span class="pun">$</span><span class="pln"> dpkg </span><span class="pun">-</span><span class="pln">l </span><span class="pun">|</span><span class="pln"> grep sfcgal
ii libsfcgal-dev </span><span class="lit">1.2.2-1</span><span class="pln"> amd64 Library </span><span class="kwd">for</span><span class="pln"> ISO </span><span class="lit">19107</span><span class="pun">:</span><span class="lit">2013</span><span class="pln"> </span><span class="kwd">and</span><span class="pln"> OGC SFA </span><span class="lit">1.2</span><span class="pln"> </span><span class="kwd">for</span><span class="pln"> </span><span class="lit">3</span><span class="pln">D operations </span><span class="pun">(</span><span class="pln">dev part</span><span class="pun">)</span><span class="pln">
ii libsfcgal1 </span><span class="lit">1.2.2-1</span><span class="pln"> amd64 Library </span><span class="kwd">for</span><span class="pln"> ISO </span><span class="lit">19107</span><span class="pun">:</span><span class="lit">2013</span><span class="pln"> </span><span class="kwd">and</span><span class="pln"> OGC SFA </span><span class="lit">1.2</span><span class="pln"> </span><span class="kwd">for</span><span class="pln"> </span><span class="lit">3</span><span class="pln">D operations </span><span class="pun">(</span><span class="pln">runtime part</span><span class="pun">)</span><span class="pln">
ii sfcgal-bin </span><span class="lit">1.2.2-1</span><span class="pln"> amd64 Simple viewer </span><span class="kwd">for</span><span class="pln"> SFCGAL library
ii sfcgal-dbg </span><span class="lit">1.2.2-1</span><span class="pln"> amd64 Debug symbols </span><span class="kwd">for</span><span class="pln"> SFCGAL</span></code><br></pre><div><br></div><div>What is going wrong? Thank you,<br></div><div><br></div><div>Luís<br></div><div><br></div><div class="protonmail_signature_block"><div><i>Sent from <a href="https://protonmail.ch">ProtonMail</a>, encrypted email based in Switzerland.</i><br></div><div><br></div></div><div><br></div>