Bug#1009028: libmapnik3.1: Does not link to libproj?

Marcos Dione mdione at grulic.org.ar
Wed Apr 6 09:57:38 BST 2022


Package: libmapnik3.1
Version: 3.1.0+ds-1+b4
Severity: important

Dear Maintainer,

    I've been using osm-tile-tools (which I develop) on and off for ages
for rendering an OSM based map. This time it has been a couple of years,
I think, since the last time, so I'm not sure when this was introduced.
This project actually uses python3-mapnik, but the problem seems to come
from this library. In short:

    In [1]: import mapnik
    In [2]: p = mapnik.Projection('EPSG:4326')
    RuntimeError: Cannot initialize projection 'EPSG:4326 ' without proj4 support (-DMAPNIK_USE_PROJ4)

    As you can see below, it seems like libmapnik3.1 is not linking to
libproj25 (I guess; that's the one I can find installed locally). I'm
pretty sure the fix is an easy one.

    Cheers,

	-- Marcos.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libmapnik3.1 depends on:
ii  fonts-dejavu                                       2.37-2
ii  libboost-filesystem1.74.0                          1.74.0-14
ii  libboost-regex1.74.0 [libboost-regex1.74.0-icu67]  1.74.0-14
ii  libc6                                              2.33-7
ii  libcairo2                                          1.16.0-5
ii  libfreetype6                                       2.11.1+dfsg-1
ii  libgcc-s1                                          12-20220319-1
ii  libgdal30                                          3.4.2+dfsg-1+b2
ii  libharfbuzz0b                                      2.7.4-1
ii  libicu67                                           67.1-7
ii  libjpeg62-turbo                                    1:2.1.2-1
ii  libpng16-16                                        1.6.37-3
ii  libpq5                                             14.2-1+b2
ii  libsqlite3-0                                       3.38.2-1
ii  libstdc++6                                         12-20220319-1
ii  libtiff5                                           4.3.0-6
ii  libwebp7                                           1.2.2-2+b1
ii  libxml2                                            2.9.13+dfsg-1

libmapnik3.1 recommends no packages.

Versions of packages libmapnik3.1 suggests:
ii  postgis  3.2.1+dfsg-1+b1

-- no debconf information



More information about the Pkg-grass-devel mailing list