[postgis-tickets] [PostGIS] #3442: The install of the last version of postgis on RedHat 7U1 fails with "Error: Package: SFCGAL-libs-1.2.2-1.rhel7.x86_64 (Postgres_9.5) Requires: libboost_date_time-mt.so.1.53.0()(64bit)"

PostGIS trac at osgeo.org
Thu Jan 28 23:58:22 PST 2016


#3442: The install of the last version of postgis on RedHat 7U1 fails with "Error:
Package: SFCGAL-libs-1.2.2-1.rhel7.x86_64 (Postgres_9.5)
Requires: libboost_date_time-mt.so.1.53.0()(64bit)"
--------------------------+---------------------------
  Reporter:  motiumansky  |      Owner:  robe
      Type:  defect       |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS 2.2.2
 Component:  postgis      |    Version:  2.2.x
Resolution:               |   Keywords:
--------------------------+---------------------------

Comment (by robe):

 Moti,

 This is a bit more complicated than I thought.  The closest thing I have
 to RH 7 is Centos 7.  It looks like boost 1.53 is part of the base repo.
 So not sure why you don't have it. At anyrate you still need to install
 epel repo if you haven't.  Have you done:


 {{{
 yum -y install epel-release
 }}}


 After I do that and run


 {{{
 yum install postgis2_95
 }}}


 I get:


 {{{
 Dependencies Resolved

 ================================================================================
  Package                    Arch      Version                  Repository
 Size
 ================================================================================
 Installing:
  postgis2_95                x86_64    2.2.1-3.rhel7            pgdg95
 3.8 M
 Installing for dependencies:
  CGAL                       x86_64    4.7-1.rhel7              pgdg95
 253 k
  CharLS                     x86_64    1.0-5.el7                epel
 63 k
  SFCGAL                     x86_64    1.2.2-1.rhel7            pgdg95
 14 k
  SFCGAL-libs                x86_64    1.2.2-1.rhel7            pgdg95
 1.7 M
  armadillo                  x86_64    4.320.0-1.el7            epel
 21 k
  arpack                     x86_64    3.1.3-2.el7              epel
 101 k
  atlas                      x86_64    3.10.1-10.el7            base
 4.5 M
  blas                       x86_64    3.4.2-5.el7              base
 399 k
  boost-date-time            x86_64    1.53.0-25.el7            base
 51 k
  boost-serialization        x86_64    1.53.0-25.el7            base
 170 k
  boost-system               x86_64    1.53.0-25.el7            base
 39 k
  boost-thread               x86_64    1.53.0-25.el7            base
 57 k
  cfitsio                    x86_64    3.370-1.el7              epel
 526 k
  fontconfig                 x86_64    2.10.95-7.el7            base
 228 k
  fontpackages-filesystem    noarch    1.44-8.el7               base
 9.9 k
  freexl                     x86_64    1.0.0f-1.el7             epel
 31 k
  gdal-libs                  x86_64    1.11.2-2.el7             epel
 4.4 M
  geos                       x86_64    3.5.0-1.rhel7            pgdg95
 540 k
  giflib                     x86_64    4.1.6-9.el7              base
 40 k
  hdf5                       x86_64    1.8.12-7.el7             epel
 1.6 M
  jasper-libs                x86_64    1.900.1-29.el7           base
 149 k
  jbigkit-libs               x86_64    2.0-11.el7               base
 46 k
  lapack                     x86_64    3.4.2-5.el7              base
 5.4 M
  lcms2                      x86_64    2.6-2.el7                base
 150 k
  libICE                     x86_64    1.0.9-2.el7              base
 65 k
  libSM                      x86_64    1.2.2-2.el7              base
 39 k
  libX11                     x86_64    1.6.3-2.el7              base
 605 k
  libX11-common              noarch    1.6.3-2.el7              base
 162 k
  libXau                     x86_64    1.0.8-2.1.el7            base
 29 k
  libXdamage                 x86_64    1.1.4-4.1.el7            base
 20 k
  libXext                    x86_64    1.3.3-3.el7              base
 39 k
  libXfixes                  x86_64    5.0.1-2.1.el7            base
 18 k
  libXxf86vm                 x86_64    1.1.3-2.1.el7            base
 17 k
  libdap                     x86_64    3.13.1-2.el7             epel
 423 k
  libgeotiff                 x86_64    1.2.5-14.el7             epel
 545 k
  libgfortran                x86_64    4.8.5-4.el7              base
 293 k
  libgta                     x86_64    1.0.4-1.el7              epel
 32 k
  libjpeg-turbo              x86_64    1.2.90-5.el7             base
 134 k
  libpng                     x86_64    2:1.5.13-7.el7_2         updates
 213 k
  libquadmath                x86_64    4.8.5-4.el7              base
 182 k
  libtiff                    x86_64    4.0.3-14.el7             base
 167 k
  libtool-ltdl               x86_64    2.4.2-20.el7             base
 49 k
  libwebp                    x86_64    0.3.0-3.el7              base
 170 k
  libxcb                     x86_64    1.11-4.el7               base
 189 k
  libxshmfence               x86_64    1.2-1.el7                base
 7.2 k
  mesa-libGL                 x86_64    10.6.5-3.20150824.el7    base
 184 k
  mesa-libGLU                x86_64    9.0.0-4.el7              base
 196 k
  mesa-libglapi              x86_64    10.6.5-3.20150824.el7    base
 39 k
  mpfr                       x86_64    3.1.1-4.el7              base
 203 k
  netcdf                     x86_64    4.3.3.1-5.el7            epel
 693 k
  ogdi                       x86_64    3.2.0-0.19.beta2.el7     epel
 248 k
  openjpeg-libs              x86_64    1.5.1-10.el7             base
 85 k
  poppler                    x86_64    0.26.5-5.el7             base
 782 k
  poppler-data               noarch    0.4.6-3.el7              base
 2.2 M
  proj                       x86_64    4.8.0-4.el7              epel
 181 k
  unixODBC                   x86_64    2.3.1-11.el7             base
 413 k
  xerces-c                   x86_64    3.1.1-7.el7_1            base
 878 k

 Transaction Summary
 ================================================================================
 Install  1 Package (+57 Dependent packages)

 Total download size: 33 M
 Installed size: 169 M
 Is this ok [y/d/N]:
 }}}

 Then saying y install goes smoothly.

 So I'm guessing maybe you have an outdated base repo (possibly one in your
 local org that is missing boost).

 Verify what boost you have (if anty) and where it's coming from with:


 {{{
 yum list | grep boost-date-time
 boost-date-time.x86_64                  1.53.0-25.el7
 @base
 boost-date-time.i686                    1.53.0-25.el7
 base
 }}}

 mine returns the above

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3442#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-tickets mailing list