Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgdal as of 2017-01-01 does not compile #10

Open
grssnbchr opened this issue Nov 13, 2018 · 0 comments
Open

rgdal as of 2017-01-01 does not compile #10

grssnbchr opened this issue Nov 13, 2018 · 0 comments

Comments

@grssnbchr
Copy link
Owner

grssnbchr commented Nov 13, 2018

Environment:
Ubuntu 18.04
gcc 7.3.0
GDAL 2.2.3, released 2017/11/20

Problem
Up until rgdal 1.2-6, compilation fails in ogr_proj.cpp.
The rgdal version as of 2017-01-01 is 1.2-5

A fix was introduced in rgdal 1.2-7, from the changelog:
2017-04-14 21:38 edzer
* src/ogr_proj.cpp: address gdal 2.2 compile errors

Possible workarounds:

  • Install an old gdal version, e.g. compile 2.1.3 from source, according to here (tested)
    • sudo ./configure --with-libtiff=internal or compilation fails
    • remember to run sudo ldconfig after successful compilation and installation
    • if you want to uninstall gdal again and install the latest package from apt, follow these guidelines, i.e. sudo rm -rf /usr/local/bin/gdal* and sudo rm -rf /usr/local/lib/gdal* and sudo rm -rf /usr/local/lib/libgdal* and sudo ldconfig.
  • Bump package date to 2017-05-01; by then, 1.2-7 was released (untested)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant