Hi Jules,<div><br></div><div>Can you make sure that CGAL is installed at the right place?</div><div>If you have compiled pgRouting yourself, which OS and architecture do you use?</div><div><br></div><div>Daniel</div><div><br>

<br><div class="gmail_quote">On Wed, Aug 17, 2011 at 7:53 PM, Jules Kouadio <span dir="ltr">&lt;<a href="mailto:sekedoua@gmail.com">sekedoua@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Sorry but i get always the same error.<br>Thanks<div><div></div><div class="h5"><br><br><div class="gmail_quote">2011/8/16 Stephen Woodbridge <span dir="ltr">&lt;<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div>On 8/16/2011 11:36 AM, Jules Kouadio wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hi . Can someone help me ?<br>
When i execute :<br>
psql -f /usr/share/pgrouting/routing_<u></u>dd.sql routing<br>
I get this error :<br>
<br>
psql:/usr/share/pgrouting/<u></u>routing_dd.sql:27:<br>
ERROR: could not load library &quot;/ usr / lib / pgsql / librouting_dd.so&quot;<br>
libCGAL.so.2: Failed address (mapping) segement of the shared object:<br>
Permission denied<br>
</blockquote>
<br></div>
This sounds like the permissions or ownership issues on the file and need to set them correctly. On my Debian Lenny system I have:<br>
<br>
woodbri@mappy:/u/www/html/<u></u>routing/leaddog$ locate libCGAL<br>
/usr/lib/libCGAL.a<br>
/usr/lib/libCGAL.so<br>
/usr/lib/libCGAL.so.1<br>
/usr/lib/libCGAL.so.1.0.1<br>
/usr/lib/libCGAL.so.2<br>
/usr/lib/libCGAL.so.2.0.1<br>
/usr/lib/libCGALPDB.a<br>
/usr/lib/libCGALPDB.so<br>
/usr/lib/libCGALPDB.so.2<br>
/usr/lib/libCGALPDB.so.2.0.1<br>
/usr/lib/libCGALQt.a<br>
/usr/lib/libCGALQt.so<br>
/usr/lib/libCGALQt.so.2<br>
/usr/lib/libCGALQt.so.2.0.1<br>
/usr/lib/libCGALcore++.a<br>
/usr/lib/libCGALcore++.so<br>
/usr/lib/libCGALcore++.so.2<br>
/usr/lib/libCGALcore++.so.2.0.<u></u>1<br>
/usr/lib/libCGALimageIO.a<br>
/usr/lib/libCGALimageIO.so<br>
/usr/lib/libCGALimageIO.so.2<br>
/usr/lib/libCGALimageIO.so.2.<u></u>0.1<br>
woodbri@mappy:/u/www/html/<u></u>routing/leaddog$ ls -l /usr/lib/libCGAL.so*<br>
lrwxrwxrwx 1 root root     16 2009-03-24 19:34 /usr/lib/libCGAL.so -&gt; libCGAL.so.2.0.1<br>
lrwxrwxrwx 1 root root     16 2007-11-25 18:19 /usr/lib/libCGAL.so.1 -&gt; libCGAL.so.1.0.1<br>
-rw-r--r-- 1 root root 173672 2007-03-25 17:03 /usr/lib/libCGAL.so.1.0.1<br>
lrwxrwxrwx 1 root root     16 2009-03-24 19:34 /usr/lib/libCGAL.so.2 -&gt; libCGAL.so.2.0.1<br>
-rw-r--r-- 1 root root 215664 2008-06-23 08:02 /usr/lib/libCGAL.so.2.0.1<br>
<br>
You should have something similar. You might try something like:<br>
<br>
sudo chown root.root /usr/lib/libCGAL.so*<br>
sudo chmod 644 /usr/lib/libCGAL.so.2.0.1<br>
sudo ldconfig<br>
<br>
or:<br>
<br>
su<br>
chown root.root /usr/lib/libCGAL.so*<br>
chmod 644 /usr/lib/libCGAL.so.2.0.1<br>
ldconfig<br>
exit<br>
<br>
<br>
-Steve W<br>
<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div>
Note : all is wright for<br>
  /usr/share/pgrouting/routing_<u></u>core.sql<br>
  /usr/share/pgrouting/routing_<u></u>core_wrappers.sql<br>
/usr/share/pgrouting/routing_<u></u>topology.sql<br>
/usr/share/pgrouting/matching.<u></u>sql<br>
/usr/lib/pgsql/librouting_tsp.<u></u>so<br>
/usr/share/pgrouting/routing_<u></u>tsp.sql<br>
/usr/share/pgrouting/routing_<u></u>tsp_wrappers.sql<br>
<br>
Thanks .<br></div>
*<br>
*<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-<u></u>users</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-<u></u>users</a><br>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><font size="6"><b style="color:rgb(0, 51, 51);font-family:courier new,monospace"><img><br></b><span style="color:rgb(0, 51, 51);font-family:courier new,monospace"><br>


<br></span></font><br>
<br>_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG &amp; Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">daniel.kastl@georepublic.de</a><br>

Web: <a href="http://georepublic.de/" style="color:rgb(66, 99, 171)" target="_blank">http://georepublic.de</a></span><br>
</div>