[postgis-tickets] [PostGIS] #3089: [RASTER] regress tests on 'loader' fail

PostGIS trac at osgeo.org
Tue Mar 24 00:21:19 PDT 2015


#3089: [RASTER] regress tests on 'loader' fail
--------------------+-------------------------------------------------------
 Reporter:  kain    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.1.7
Component:  raster  |     Version:  2.1.x        
 Keywords:          |  
--------------------+-------------------------------------------------------
 I cannot pass the regression tests of raster loader, given error:
 -------------------------
  loader/Basic .. failed (test: running raster2pgsql:
 /tmp/pgis_reg/loader.err)
  loader/BasicCopy .. failed (test: running raster2pgsql:
 /tmp/pgis_reg/loader.err)
  loader/BasicFilename .. failed (test: running raster2pgsql:
 /tmp/pgis_reg/loader.err)

 in /tmp/pgis_reg/loader.err,
 -------------------------
 /home/kain/postgis-2.1.5/regress/../raster/loader/raster2pgsql:
 /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
 /usr/local/lib/libgdal.so.1)

 /home/kain/workspace/metro/cdb-
 pg/contrib/postgis-2.1.5/regress/../raster/loader/raster2pgsql:
 /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
 /usr/local/lib/libgeos-3.4.2.so)

 /home/kain/postgis-2.1.5/regress/../raster/loader/raster2pgsql:
 /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by
 /usr/local/lib/libgeos-3.4.2.so)


 Environments:
 -------------------------

 1. Rhel 5, PostgreSQL 9.3.5, PostGIS 2.1.5

 2. GCC
   gcc -print-libgcc-file-name
     /opt/gcc-4.4.2/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/libgcc.a
   ll /opt/gcc-4.4.2/lib64/libstdc++.so.6
     /opt/gcc-4.4.2/lib64/libstdc++.so.6 -> libstdc++.so.6.0.13
 3. ll /usr/lib64/libstdc++.so.6
   /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.8

 4. libtool
   # Run-time system search path for libraries
     sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 "


 I guess:
 -------------------------
 1. I've download a separated GCC

 2. libgdal, libgeos are compiled with newer GLIBCXX of this GCC

 3. while raster2pgsql searches for the older GLIBCXX of the system's.

 Remark:
 -------------------------
 '''I have not met this issue in PostGIS 2.1.4 and earlier versions. It
 occurs on PostGIS 2.1.5. Any suggestions for me?'''

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3089>
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