> If you're afraid of X libraries on your headless server, [...] As it stands, to get boring geometric functions into the PostgreSQL server, you must also get: two Postscript/PDF interpreters, a multicast DNS client library, ffmpeg AND libxine, a jpeg decoder, the PulseAudio client library, the MySQL client libraries, a font rasterizer (with fonts), an MP3 AND Ogg Vorbis encoder, the xlib and XCB client libraries, and two full widget toolkits (libqtgui4 and libgtk+).
It's 594MB of dependencies: almost the size of the Ubuntu Server ISO image. It's not like it just brings in a vestigial copy of xlib. That's a lot of new security surface area for a server. I've attached the full resolved dependency list on a clean install of Ubuntu Server 16.04 (sans postgresql-9.5). > [...] you should not install the postgis package for its utilities. Typically, people are installing the postgis package for the PostgreSQL server extension, not for the included its GUI shape loader utility. The source tarball will happily build the extension without building shp2pgsql-gui for this reason. ** Attachment added: "Full postgis dependency list on a clean ubuntu-server" https://bugs.launchpad.net/ubuntu/+source/postgis/+bug/1242649/+attachment/4668780/+files/postgis-deps.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1242649 Title: shp2pgsql-gui should be in a separate package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgis/+bug/1242649/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs