[OSGeoLive] #2068: Error caused by libgdal-grass version in Bionic

OSGeoLive trac_osgeolive at osgeo.org
Sat Jun 9 13:41:25 PDT 2018


#2068: Error caused by libgdal-grass version in Bionic
---------------------------+----------------------------
 Reporter:  kalxas         |       Owner:  osgeolive@…
     Type:  defect         |      Status:  new
 Priority:  critical       |   Milestone:  OSGeoLive12.0
Component:  OSGeoLive      |  Resolution:
 Keywords:  libgdal-grass  |
---------------------------+----------------------------

Comment (by Bas Couwenberg):

 Ubuntu definitely strips a bunch of libraries from the `NEEDED` section.

 From the diff between libgdal-grass (2.3.0-1) from Debian unstable &
 libgdal-grass (2.3.0-1build1) from Ubuntu cosmic:

 **gdal_GRASS.so**
 {{{
 [...]
  Dynamic Section:
 -  NEEDED               libgrass_vector.7.4.0.so
 -  NEEDED               libgrass_dig2.7.4.0.so
 -  NEEDED               libgrass_dgl.7.4.0.so
 -  NEEDED               libgrass_rtree.7.4.0.so
 -  NEEDED               libgrass_linkm.7.4.0.so
 -  NEEDED               libgrass_dbmiclient.7.4.0.so
 -  NEEDED               libgrass_dbmibase.7.4.0.so
    NEEDED               libgrass_raster.7.4.0.so
    NEEDED               libgrass_imagery.7.4.0.so
    NEEDED               libgrass_gproj.7.4.0.so
 -  NEEDED               libgrass_gmath.7.4.0.so
    NEEDED               libgrass_gis.7.4.0.so
 -  NEEDED               libgrass_datetime.7.4.0.so
 -  NEEDED               libgrass_btree2.7.4.0.so
 -  NEEDED               libgrass_ccmath.7.4.0.so
    NEEDED               libgdal.so.20
    NEEDED               libstdc++.so.6
 -  NEEDED               libm.so.6
    NEEDED               libgcc_s.so.1
    NEEDED               libc.so.6
    RUNPATH              /usr/lib/grass74/lib
 [...]
 }}}

 **ogr_GRASS.so**
 {{{
 [...]
  Dynamic Section:
    NEEDED               libgrass_vector.7.4.0.so
 -  NEEDED               libgrass_dig2.7.4.0.so
 -  NEEDED               libgrass_dgl.7.4.0.so
 -  NEEDED               libgrass_rtree.7.4.0.so
 -  NEEDED               libgrass_linkm.7.4.0.so
    NEEDED               libgrass_dbmiclient.7.4.0.so
    NEEDED               libgrass_dbmibase.7.4.0.so
 -  NEEDED               libgrass_raster.7.4.0.so
 -  NEEDED               libgrass_imagery.7.4.0.so
    NEEDED               libgrass_gproj.7.4.0.so
 -  NEEDED               libgrass_gmath.7.4.0.so
    NEEDED               libgrass_gis.7.4.0.so
 -  NEEDED               libgrass_datetime.7.4.0.so
 -  NEEDED               libgrass_btree2.7.4.0.so
 -  NEEDED               libgrass_ccmath.7.4.0.so
    NEEDED               libgdal.so.20
    NEEDED               libstdc++.so.6
 -  NEEDED               libm.so.6
    NEEDED               libgcc_s.so.1
    NEEDED               libc.so.6
    RUNPATH              /usr/lib/grass74/lib
 [...]
 }}}

 libgdal-grass should probably be built with `--no-as-needed` on Ubuntu.

-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2068#comment:2>
OSGeoLive <http://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.


More information about the osgeolive mailing list