[postgis-tickets] [PostGIS] #4260: Stop installing headers

PostGIS trac at osgeo.org
Wed Jan 23 02:17:35 PST 2019


#4260: Stop installing headers
--------------------------+---------------------------
  Reporter:  Algunenano   |      Owner:  Algunenano
      Type:  enhancement  |     Status:  closed
  Priority:  blocker      |  Milestone:  PostGIS 3.0.0
 Component:  liblwgeom    |    Version:  trunk
Resolution:  fixed        |   Keywords:
--------------------------+---------------------------
Changes (by Algunenano):

 * status:  reopened => closed
 * type:  defect => enhancement
 * resolution:   => fixed


Comment:

 This seems to be working in all bots now, except Gitlab-CI which is broken
 because it has an old GEOS.

 As a side note, and I guess @robe will be interested, if compiled with
 Link Time Optimization (I'm using `-flto=thin`) the loader binaries
 `shp2pgsql` and `pgsql2shp` won't depend on either GEOS, PROJ or the c++
 runtime:
 {{{
 $ ldd /usr/bin/shp2pgsql
         linux-vdso.so.1 (0x00007ffde4f33000)
         libc.so.6 => /usr/lib/libc.so.6 (0x00007f0ec9943000)
         libm.so.6 => /usr/lib/libm.so.6 (0x00007f0ec97be000)
         /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2
 (0x00007f0ec9b24000)
 $ ldd /usr/bin/pgsql2shp
         linux-vdso.so.1 (0x00007fff01321000)
         libc.so.6 => /usr/lib/libc.so.6 (0x00007f44186d5000)
         libpq.so.5 => /usr/lib/libpq.so.5 (0x00007f4418683000)
         /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2
 (0x00007f44188b5000)
         libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f44185f3000)
         libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f4418321000)
         libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
 (0x00007f44180d3000)
         libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2
 (0x00007f441807f000)
         libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f441805c000)
         libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f441801e000)
         libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f4417d35000)
         libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f4417b02000)
         libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007f4417afc000)
         libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
 (0x00007f44178ef000)
         libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007f44178e6000)
         libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f44178cd000)
         liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f44178bc000)
         libsasl2.so.3 => /usr/lib/libsasl2.so.3 (0x00007f441789e000)
 }}}

 `raster2pgsql` is a different beast as it depends on basically the whole
 world :D

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4260#comment:17>
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