[postgis-devel] [PostGIS] #2057: Raster build ignores pg_config info

PostGIS trac at osgeo.org
Fri Oct 19 10:48:31 PDT 2012


#2057: Raster build ignores pg_config info
----------------------+-----------------------------------------------------
 Reporter:  pramsey   |       Owner:  dustymugs    
     Type:  defect    |      Status:  assigned     
 Priority:  critical  |   Milestone:  PostGIS 2.0.2
Component:  raster    |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by pramsey):

 Failure looks like this
 {{{
 make[2]: Entering directory `/home/postgresa/postgis-2.0.1/raster/loader'
 /bin/bash ../../libtool --mode=link gcc -g -O2  -fPIC -DPIC  -Wall
 -Wmissing-prototypes -I../rt_core -I../../liblwgeom  -I/usr/local/include
 -I/usr/local/include   raster2pgsql.o ../rt_core/librtcore.a
 ../rt_core/librtcore.a ../../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
 raster2pgsql.o -o .libs/raster2pgsql  ../rt_core/librtcore.a
 ../../liblwgeom/.libs/liblwgeom.so -L/usr/local/lib
 /usr/local/lib/libproj.so /usr/local/lib/libgdal.so -L/usr/lib
 /usr/lib/libexpat.so /usr/lib/libgif.so /usr/lib/libjpeg.so -lpng -lpq -lz
 -lpthread -lrt -ldl /usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so
 -lc -lm
 /usr/bin/ld: cannot find -lpq
 collect2: ld returned 1 exit status
 make[2]: *** [raster2pgsql] Error 1
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2057#comment:2>
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-devel mailing list