[postgis-users] Make Check fails

Mathieu Basille basille at ase-research.org
Tue Jan 31 07:05:01 PST 2012


Le 31/01/2012 09:51, Andreas Forø Tollefsen a écrit :
> Hi Mathieu,
>
> Thanks. I was thinking the same. I downloaded the latest from trunk.
>
> ./autogen.sh
> ./configure --with-raster --with-gui
> Also tried --with-geosconfig and --with-gdalconfig manually with the same
> problem.
>
> Could it be worth a try to delete the postgis-2.0.so
> <http://postgis-2.0.so> file and reinstall postgis?

I don't think it is related to postgis-2.0.so, 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:

sudo updatedb
locate geos-config

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:

less /usr/local/bin/geos-config

It shows me somewhere that this is the 3.4.0dev version:
     --version)
     echo 3.4.0dev

Then I can use:

./configure --with-raster --with-geosconfig=/usr/local/bin/geos-config

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...
Mathieu.


> Andreas
>
> 2012/1/31 Mathieu Basille <basille at ase-research.org
> <mailto:basille at ase-research.org>>
>
>     It seems indeed to be related to your previous GEOS install. What
>     command did you use to compile PostGIS? Is it possible that the path to
>     geos-config is still linking to the previous install? You can override
>     it by: '--with-geosconfig=/usr/bin/__geos-config' (or the one related
>     to your current install of GEOS) in the ./configure.
>
>     Hope it helps. If not, please provide more details (OS, previous
>     commands, etc.).
>     Mathieu.
>
>
>     Le 31/01/2012 09:33, Andreas Forø Tollefsen a écrit :
>
>         Hi,
>
>         I have installed GEOS 3.3.2 and GDAL 1.9.
>
>         I previously had a GEOS SVN 3.4 installed, but no longer.
>
>         Still i get this error when running make check.
>
>         Any idea?
>
>         /home/andreas/Downloads/__postgis-2.0.0alpha3SVN/__liblwgeom/cunit/.libs/lt-cu___testr:
>         error while loading shared libraries: libgeos-3.4.0dev.so
>         <http://libgeos-3.4.0dev.so>
>         <http://libgeos-3.4.0dev.so>: cannot open shared object file: No
>         such file
>
>         or directory
>         make[2]: *** [check] Error 127
>         make[2]: Leaving directory
>         `/home/andreas/Downloads/__postgis-2.0.0alpha3SVN/__liblwgeom/cunit'
>         make[1]: *** [check] Error 2
>         make[1]: Leaving directory
>         `/home/andreas/Downloads/__postgis-2.0.0alpha3SVN/__liblwgeom'
>         make: *** [check] Error 1
>
>
>
>         _________________________________________________
>         postgis-users mailing list
>         postgis-users at postgis.__refractions.net
>         <mailto:postgis-users at postgis.refractions.net>
>         http://postgis.refractions.__net/mailman/listinfo/postgis-__users
>         <http://postgis.refractions.net/mailman/listinfo/postgis-users>
>
>
>     --
>
>     ~$ whoami
>     Mathieu Basille, Post-Doc
>
>     ~$ locate
>     Laboratoire d'Écologie Comportementale et de Conservation de la Faune
>     + Centre d'Étude de la Forêt
>     Département de Biologie
>     Université Laval, Québec
>
>     ~$ info
>     http://ase-research.org/__basille <http://ase-research.org/basille>
>
>     ~$ fortune
>     ``If you can't win by reason, go for volume.''
>     Calvin, by Bill Watterson.
>     _________________________________________________
>     postgis-users mailing list
>     postgis-users at postgis.__refractions.net
>     <mailto:postgis-users at postgis.refractions.net>
>     http://postgis.refractions.__net/mailman/listinfo/postgis-__users
>     <http://postgis.refractions.net/mailman/listinfo/postgis-users>
>
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

-- 

~$ whoami
Mathieu Basille, Post-Doc

~$ locate
Laboratoire d'Écologie Comportementale et de Conservation de la Faune
+ Centre d'Étude de la Forêt
Département de Biologie
Université Laval, Québec

~$ info
http://ase-research.org/basille

~$ fortune
``If you can't win by reason, go for volume.''
Calvin, by Bill Watterson.



More information about the postgis-users mailing list