[postgis-devel] [PostGIS] #1644: Cannot build on Debian Wheezy

PostGIS trac at osgeo.org
Tue Mar 6 01:49:52 PST 2012


#1644: Cannot build on Debian Wheezy
-----------------------------------------+----------------------------------
 Reporter:  darkblueb                    |       Owner:  pramsey      
     Type:  defect                       |      Status:  new          
 Priority:  medium                       |   Milestone:  PostGIS 2.0.0
Component:  postgis                      |     Version:  trunk        
 Keywords:  build make loader shp2pgsql  |  
-----------------------------------------+----------------------------------

Comment(by strk):

 We supposedly do have the module statically linked to liblwgeom:
 {{{
 postgis/regress(svn-trunk)] ldd 00-regress-install/lib/postgis-2.0.so
         linux-vdso.so.1 =>  (0x00007fff89fff000)
         libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1
 (0x00007f46e023f000)
         libproj.so.0 => /usr/local/lib/libproj.so.0 (0x00007f46dfff0000)
         libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f46dfc9f000)
         libc.so.6 => /lib/libc.so.6 (0x00007f46df91c000)
         libgeos-3.3.2dev.so => /usr/local/lib/libgeos-3.3.2dev.so
 (0x00007f46df57e000)
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f46df269000)
         libm.so.6 => /lib/libm.so.6 (0x00007f46defe6000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f46dedcf000)
         libdl.so.2 => /lib/libdl.so.2 (0x00007f46debca000)
         libz.so.1 => /lib/libz.so.1 (0x00007f46de9b3000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f46e072d000)
 }}}

 We are not even using libtool to build that library. Run "make
 postgis-2.0.so" from under postgis/ dir. This is the last line I have:

 {{{
 gcc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
 -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
 -g -fpic -shared  postgis_module.o lwgeom_accum.o lwgeom_spheroid.o
 lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_inout.o
 lwgeom_functions_basic.o lwgeom_btree.o lwgeom_box.o lwgeom_box3d.o
 lwgeom_cache.o lwgeom_geos.o lwgeom_geos_prepared.o lwgeom_geos_clean.o
 lwgeom_geos_relatematch.o lwgeom_export.o lwgeom_in_gml.o lwgeom_in_kml.o
 lwgeom_in_geojson.o lwgeom_triggers.o lwgeom_dump.o lwgeom_functions_lrs.o
 long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o lwgeom_transform.o
 gserialized_typmod.o gserialized_gist_2d.o gserialized_gist_nd.o
 geography_inout.o geography_btree.o geography_estimate.o
 geography_measurement.o geometry_estimate.o
 ../liblwgeom/.libs/liblwgeom.a ../libpgcommon/libpgcommon.a
 -L/usr/local/lib  -lgeos_c -lproj  -lxml2    -L/usr/lib  -o postgis-2.0.so
 }}}

 With no trace of libtool invokation.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1644#comment:4>
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