[R-sig-Geo] RGDAL installation fail after yum upgrade

Rich Shepard r@hep@rd @ending from @ppl-eco@y@@com
Fri Sep 21 16:02:43 CEST 2018


On Fri, 21 Sep 2018, David.GIOVANNINI using ext.ec.europa.eu wrote:

> I have checked all the packages (GDAL v1.11.4, PROJ4 v4.9.1) and seems
> that the minimun required version has been satisfied. But on the system I
> have two version of PROJ4, the version v4.8.0 ( /usr/bin/proj ) and the
> version v4.9.1 ( /usr/local/bin/proj ).

David,

   This is the cause of many problems: two different versions of software on
the same host.

> So can I force the use of the new version of PROJ with some parameters
> during the installation of RGDAL?

   Take a look at your $PATH; it's likely that /usr/local/bin/ is checked
before usr/bin/. And different applications using, e.g., proj4, may look for
it in either place. This means that one application finds the 4.9.1 version
while another application finds the 4.8.0 version.

   I recommend that you put all core binaries in /usr/bin (which means moving
4.9.1 from /usr/local/bin/ to /usr/bin/ and keeping in the latter only
software developed locally.

   My network runs Slackware so I don't know how difficult it might be for
you to re-organize your CentOS installations, but making the time to do this
will make life easier for you.

Best regards,

Rich



More information about the R-sig-Geo mailing list