[MacPorts] #70269: GDAL Missing PDF Support (at least when installed as dependency for QGIS3)
MacPorts
noreply at macports.org
Fri Jun 21 07:44:31 UTC 2024
#70269: GDAL Missing PDF Support (at least when installed as dependency for QGIS3)
----------------------+--------------------
Reporter: mhanmore | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
----------------------+--------------------
**The issue**
The GDAL build via MacPorts as part of qgis3 installation currently lacks
support for PDF files, which means qgis3 behaves as though PDF files don't
exist.
**Expected behavior**
GDAL should be built with poppler to enable PDF support. I was able to
fix the problem with `sudo port install poppler` followed by `sudo port
install gdal +pdf +poppler`
**Steps to reproduce**
1. Install GDAL as a qgis3 dependency via MacPorts using `sudo port
install qgis3`.
2. Attempt to open or georeceference a PDF in Qgis3
3. Run `gdalinfo --formats | grep -i pdf`.
4. Observe that PDF support is not listed.
**System Information**
- OS: macOS: Sonoma on M3 Max
- GDAL Versions:
Broken: `gdal @3.9.0_0+postgresql16+proj9`
Fixed: `gdal @3.9.0_0+poppler+postgresql16+proj9`
--
Ticket URL: <https://trac.macports.org/ticket/70269>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list