Skip to content

Instantly share code, notes, and snippets.

@max-mapper
Last active May 17, 2023 06:10
Show Gist options
  • Save max-mapper/2c4e030f793c195d6ced30470ca4fde0 to your computer and use it in GitHub Desktop.
Save max-mapper/2c4e030f793c195d6ced30470ca4fde0 to your computer and use it in GitHub Desktop.
compile gdal with poppler from miniconda
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
bash Miniconda2-latest-Linux-x86_64.sh
source ~/.bashrc
conda config --add channels conda-forge
conda install poppler
export IFOLDER="/mnt/bigdisk/miniconda2/include"
export LFOLDER="/mnt/bigdisk/miniconda2/lib"
export LD_LIBRARY_PATH=${LFOLDER}:$LD_LIBRARY_PATH
./configure --with-python --with-poppler=/mnt/bigdisk/miniconda2 --with-spatialite --with-pg --with-curl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment