And the file exists:<div><div>andreas@andreas-priogrid:~/Downloads/postgis-2.0.0alpha3SVN$ locate <a href="http://libgeos-3.4.0dev.so">libgeos-3.4.0dev.so</a></div><div>/home/andreas/Downloads/geos-svn/src/.libs/<a href="http://libgeos-3.4.0dev.so">libgeos-3.4.0dev.so</a></div>
<div>/usr/local/lib/<a href="http://libgeos-3.4.0dev.so">libgeos-3.4.0dev.so</a></div><div><br></div><br><div class="gmail_quote">2012/1/31 Andreas Forø Tollefsen <span dir="ltr"><<a href="mailto:andreasft@gmail.com">andreasft@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div class="im">2012/1/31 Mathieu Basille <span dir="ltr"><<a href="mailto:basille@ase-research.org" target="_blank">basille@ase-research.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 31/01/2012 09:51, Andreas Forø Tollefsen a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Hi Mathieu,<br>
<br>
Thanks. I was thinking the same. I downloaded the latest from trunk.<br>
<br>
./autogen.sh<br>
./configure --with-raster --with-gui<br>
Also tried --with-geosconfig and --with-gdalconfig manually with the same<br>
problem.<br>
<br>
Could it be worth a try to delete the <a href="http://postgis-2.0.so" target="_blank">postgis-2.0.so</a><br></div>
<<a href="http://postgis-2.0.so" target="_blank">http://postgis-2.0.so</a>> file and reinstall postgis?<br>
</blockquote>
<br>
I don't think it is related to <a href="http://postgis-2.0.so" target="_blank">postgis-2.0.so</a>, but really to the mess with GEOS installs. Try to make sure that you're using the correct geos-config. If you're using a Linux OS, you can try:<br>


<br>
sudo updatedb<br>
locate geos-config<br>
<br>
See how many do you have. Mine (compiled by myself) is in '/usr/local/bin/geos-config'. You can check if it is the correct one with, e.g. less:<br>
<br>
less /usr/local/bin/geos-config<br>
<br>
It shows me somewhere that this is the 3.4.0dev version:<br>
    --version)<br>
    echo 3.4.0dev<br>
<br>
Then I can use:<br>
<br>
./configure --with-raster --with-geosconfig=/usr/local/<u></u>bin/geos-config<br>
<br>
Now you have to adjust it for your needs. How did you install GEOS 3.3.2? Did you use a package manager, or compile it manually? Only this will tell you which geos-config to use...<br>
Mathieu.<br>
<br></blockquote></div><div>Hi Mathieu,</div><div><br></div><div>I have compiled my geos myself using ./autogen.sh, ./configure, make, make install.</div><div>Then i set the path to the geos-config manually when configuring postgis:</div>

<div>./configure --with-geosconfig=/usr/local/bin/geos-config --with raster </div><div><br></div><div>I also tried by reinstalling the latest geos3.4.dev from trunk.</div><div><br></div><div>However. I get the same error:</div>

<div><div>---- Making check in liblwgeom</div><div>make[1]: Entering directory `/home/andreas/Downloads/postgis-2.0.0alpha3SVN/liblwgeom'</div><div>make -C cunit check</div><div>make[2]: Entering directory `/home/andreas/Downloads/postgis-2.0.0alpha3SVN/liblwgeom/cunit'</div>

<div>/bin/bash ../../libtool --mode=link gcc -g -O2  -Wall -Wmissing-prototypes -I/usr/local/include  -DPOSTGIS_GEOS_VERSION=34 -o cu_tester cu_algorithm.o cu_print.o cu_misc.o cu_ptarray.o cu_geodetic.o cu_geos.o cu_measures.o cu_node.o cu_libgeom.o cu_split.o cu_surface.o cu_homogenize.o cu_out_wkt.o cu_out_wkb.o cu_out_gml.o cu_out_kml.o cu_out_geojson.o cu_out_svg.o cu_out_x3d.o cu_in_wkb.o cu_in_wkt.o cu_tester.o  ../<a href="http://liblwgeom.la" target="_blank">liblwgeom.la</a> -lcunit</div>

<div>libtool: link: gcc -g -O2 -Wall -Wmissing-prototypes -I/usr/local/include -DPOSTGIS_GEOS_VERSION=34 -o .libs/cu_tester cu_algorithm.o cu_print.o cu_misc.o cu_ptarray.o cu_geodetic.o cu_geos.o cu_measures.o cu_node.o cu_libgeom.o cu_split.o cu_surface.o cu_homogenize.o cu_out_wkt.o cu_out_wkb.o cu_out_gml.o cu_out_kml.o cu_out_geojson.o cu_out_svg.o cu_out_x3d.o cu_in_wkb.o cu_in_wkt.o cu_tester.o  ../.libs/liblwgeom.so /usr/lib/libcunit.so</div>

<div>#gcc -o cu_tester cu_algorithm.o cu_print.o cu_misc.o cu_ptarray.o cu_geodetic.o cu_geos.o cu_measures.o cu_node.o cu_libgeom.o cu_split.o cu_surface.o cu_homogenize.o cu_out_wkt.o cu_out_wkb.o cu_out_gml.o cu_out_kml.o cu_out_geojson.o cu_out_svg.o cu_out_x3d.o cu_in_wkb.o cu_in_wkt.o cu_tester.o  ../.libs/liblwgeom.a -lm -lcunit -L/usr/local/lib -lgeos_c</div>

<div>/home/andreas/Downloads/postgis-2.0.0alpha3SVN/liblwgeom/cunit/.libs/lt-cu_tester: error while loading shared libraries: <a href="http://libgeos-3.4.0dev.so" target="_blank">libgeos-3.4.0dev.so</a>: cannot open shared object file: No such file or directory</div>
<div class="im">
<div>make[2]: *** [check] Error 127</div></div><div>make[2]: Leaving directory `/home/andreas/Downloads/postgis-2.0.0alpha3SVN/liblwgeom/cunit'</div><div class="im"><div>make[1]: *** [check] Error 2</div></div><div>make[1]: Leaving directory `/home/andreas/Downloads/postgis-2.0.0alpha3SVN/liblwgeom'</div>
<div><div></div><div class="h5">
<div>make: *** [check] Error 1</div></div></div></div><div><div></div><div class="h5"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Andreas<br>
<br>
2012/1/31 Mathieu Basille <<a href="mailto:basille@ase-research.org" target="_blank">basille@ase-research.org</a><br></div>
<mailto:<a href="mailto:basille@ase-research.org" target="_blank">basille@ase-research.<u></u>org</a>>><div><br>
<br>
    It seems indeed to be related to your previous GEOS install. What<br>
    command did you use to compile PostGIS? Is it possible that the path to<br>
    geos-config is still linking to the previous install? You can override<br></div>
    it by: '--with-geosconfig=/usr/bin/__<u></u>geos-config' (or the one related<div><br>
    to your current install of GEOS) in the ./configure.<br>
<br>
    Hope it helps. If not, please provide more details (OS, previous<br>
    commands, etc.).<br>
    Mathieu.<br>
<br>
<br>
    Le 31/01/2012 09:33, Andreas Forø Tollefsen a écrit :<br>
<br>
        Hi,<br>
<br>
        I have installed GEOS 3.3.2 and GDAL 1.9.<br>
<br>
        I previously had a GEOS SVN 3.4 installed, but no longer.<br>
<br>
        Still i get this error when running make check.<br>
<br>
        Any idea?<br>
<br></div>
        /home/andreas/Downloads/__<u></u>postgis-2.0.0alpha3SVN/__<u></u>liblwgeom/cunit/.libs/lt-cu___<u></u>testr:<div><br>
        error while loading shared libraries: <a href="http://libgeos-3.4.0dev.so" target="_blank">libgeos-3.4.0dev.so</a><br>
        <<a href="http://libgeos-3.4.0dev.so" target="_blank">http://libgeos-3.4.0dev.so</a>><br>
        <<a href="http://libgeos-3.4.0dev.so" target="_blank">http://libgeos-3.4.0dev.so</a>>: cannot open shared object file: No<br>
        such file<br>
<br>
        or directory<br>
        make[2]: *** [check] Error 127<br>
        make[2]: Leaving directory<br></div>
        `/home/andreas/Downloads/__<u></u>postgis-2.0.0alpha3SVN/__<u></u>liblwgeom/cunit'<div><br>
        make[1]: *** [check] Error 2<br>
        make[1]: Leaving directory<br></div>
        `/home/andreas/Downloads/__<u></u>postgis-2.0.0alpha3SVN/__<u></u>liblwgeom'<div><br>
        make: *** [check] Error 1<br>
<br>
<br>
<br></div>
        ______________________________<u></u>___________________<br>
        postgis-users mailing list<br>
        postgis-users@postgis.__<a href="http://refractions.net" target="_blank">refrac<u></u>tions.net</a><br>
        <mailto:<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.<u></u>refractions.net</a>><br>
        <a href="http://postgis.refractions." target="_blank">http://postgis.refractions.</a>__<u></u>net/mailman/listinfo/postgis-_<u></u>_users<div><br>
        <<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.<u></u>net/mailman/listinfo/postgis-<u></u>users</a>><br>
<br>
<br>
    --<br>
<br>
    ~$ whoami<br>
    Mathieu Basille, Post-Doc<br>
<br>
    ~$ locate<br>
    Laboratoire d'Écologie Comportementale et de Conservation de la Faune<br>
    + Centre d'Étude de la Forêt<br>
    Département de Biologie<br>
    Université Laval, Québec<br>
<br>
    ~$ info<br></div>
    <a href="http://ase-research.org/__basille" target="_blank">http://ase-research.org/__<u></u>basille</a> <<a href="http://ase-research.org/basille" target="_blank">http://ase-research.org/<u></u>basille</a>><div>

<br>
<br>
    ~$ fortune<br>
    ``If you can't win by reason, go for volume.''<br>
    Calvin, by Bill Watterson.<br></div>
    ______________________________<u></u>___________________<br>
    postgis-users mailing list<br>
    postgis-users@postgis.__<a href="http://refractions.net" target="_blank">refrac<u></u>tions.net</a><br>
    <mailto:<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.<u></u>refractions.net</a>><br>
    <a href="http://postgis.refractions." target="_blank">http://postgis.refractions.</a>__<u></u>net/mailman/listinfo/postgis-_<u></u>_users<br>
    <<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.<u></u>net/mailman/listinfo/postgis-<u></u>users</a>><div><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.<u></u>refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.<u></u>net/mailman/listinfo/postgis-<u></u>users</a><br>
</div></blockquote><div><div></div><div>
<br>
-- <br>
<br>
~$ whoami<br>
Mathieu Basille, Post-Doc<br>
<br>
~$ locate<br>
Laboratoire d'Écologie Comportementale et de Conservation de la Faune<br>
+ Centre d'Étude de la Forêt<br>
Département de Biologie<br>
Université Laval, Québec<br>
<br>
~$ info<br>
<a href="http://ase-research.org/basille" target="_blank">http://ase-research.org/<u></u>basille</a><br>
<br>
~$ fortune<br>
``If you can't win by reason, go for volume.''<br>
Calvin, by Bill Watterson.<br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.<u></u>refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.<u></u>net/mailman/listinfo/postgis-<u></u>users</a><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br></div>