[postgis-tickets] [PostGIS] #2819: build on openindiana x86 fails due to isfinite being unresolved

PostGIS trac at osgeo.org
Sat Jul 5 22:44:27 PDT 2014


#2819: build on openindiana x86 fails due to isfinite being unresolved
---------------------+------------------------------------------------------
 Reporter:  pbelbin  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.1.4
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 here is what I see:

 make[2]: Entering directory
 `/home/pbelb/postgis/postgis-2.1.3/raster/loader'
 /bin/sh ../../libtool --mode=link gcc -g -O2  -fPIC -DPIC  -Wall
 -Wmissing-prototypes -I../rt_core -I../../liblwgeom -I/usr/local/include
 -I/usr/local/include -I/usr/local/include   ../rt_core/librtcore.a
 raster2pgsql.o ../../liblwgeom/liblwgeom.la -L/usr/local/lib -lgdal
 -L/usr/local/lib -lgeos_c  -lc -lm -o raster2pgsql
 libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes
 -I../rt_core -I../../liblwgeom -I/usr/local/include -I/usr/local/include
 -I/usr/local/include raster2pgsql.o -o .libs/raster2pgsql
 ../rt_core/librtcore.a ../../liblwgeom/.libs/liblwgeom.so -L/usr/local/lib
 -L/usr/sfw/lib /usr/local/lib/libproj.so /usr/local/lib/libgdal.so
 -lsqlite3 -lexpat -ljpeg -lpng -lpthread -lrt -ldl -L/usr/lib -lcurl -lgss
 -lidn -lsldap -lldap -lsocket -lnsl -lz -lssl -lcrypto
 /usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so
 /usr/sfw/lib/libstdc++.so -lc -lm -R/usr/local/lib -R/usr/sfw/lib
 Undefined                       first referenced
  symbol                             in file
 isfinite                            ../../liblwgeom/.libs/liblwgeom.so
 ld: fatal: symbol referencing errors. No output written to
 .libs/raster2pgsql


 searching the web, it appears some more attention is needed to either
 avoid the use of isfinite, or, enable a macro for isfinite.

 please fix!

 I am using openindiana b151a8 with gcc 3.4.3, gdal-1.11.0, geos-3.4.2,
 postgresql 9.2.x (but will update soon to 9.3.x)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2819>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list