<div dir="ltr">Hey Olivier ,<div>thanks for the answer !<br></div><div><br></div><div>great news for 2.2, I hope I'll be able to try sfcgal before that :-)</div><div><br>Still not working, what am I doing wrong?</div><div>
<br></div><div>su postgres</div><div>cd /usr/share/postgresql/9.3/contrib/postgis-2.1/</div><div><div>psql -d test_sfcgal -p 5433 < postgis.sql</div></div><div>test_sfcgal being a data base created for the test.</div><div>
<br></div><div>the postgis.sql breaks at the 2nd statement with the classical : </div><div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font size="1">ERROR: could not load library "/usr/lib/postgresql/9.3/lib/<a href="http://postgis-2.1.so">postgis-2.1.so</a>": libSFCGAL.so: cannot open shared object file: No such file or directory</font></div>
</div><div><div><font size="1">État SQL :58P01</font></div></div></blockquote><div><br></div><div class="gmail_extra">what now?</div><div class="gmail_extra">It seems like postgis has no link to libsfcgal.so.<br>Can I manually set it?</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">make check in postgis goves the same error old error.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra"><br>
</div><div class="gmail_extra">Rémi-C<br><br><div class="gmail_quote">2013/10/14 Olivier Courtin <span dir="ltr"><<a href="mailto:olivier.courtin@oslandia.com" target="_blank">olivier.courtin@oslandia.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div>On Oct 14, 2013, at 12:30 PM, Rémi Cura wrote:</div>
<div><br></div><div>Hi Rémi,</div><br><blockquote type="cite"><div dir="ltr"><div class="im">I would like to use SFCGAL but can't make it work.<br><br></div><div class="im"><div><div><div>And try to add postgis</div><div>
<ul><li>CREATE EXTENSION postgis VERSION '2.1.0';<br></li></ul></div></div></div></div></div></blockquote><br></div><div>Here is the issue.</div><div><br></div><div>Right now (and until 2.2.0) sfcgal don't use EXTENSION</div>
<div>so need to create the spatial database with the old school method:</div><div><br></div><div>psql database < postgis.sql</div><div>psql database < spatial_ref_sys.sql</div><div>psql database < sfcgal.sql</div>
<div><br></div><div><br></div><div>Should be enough to make it works.</div><div><br></div><div><br></div><div><br></div><div>I also will look why you did'nt get the 1.0.2 right version number.</div><span class=""><font color="#888888"><div>
<br></div><div><br></div><div><br></div><div><br></div><div>O.</div><div><br></div><div><br></div><br></font></span></div><br>_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a><br></blockquote></div><br></div></div>