rgdal compile error on RHEL5 [SEC=UNCLASSIFIED]
On Wed, 14 Nov 2012, twuest wrote:
Hi all, I am getting exactly the same error when compiling the latest rgdal (0.7-22) on RHEL5 (CentOS 5.5) using the gdal v1.8.0 RPM from the elgis repository. Could anybody resolve this problem?
You are the only person with access to relevant information. What your "same error" is, only you know - no text from any existing thread is included in your message. Th error refers to the one originally posted by Andrew Harley (see above): When running "R CMD INSTALL rgdal", the installation fails with ... configure: error: GDALAllRegister not found in libgdal. For all systems installing rgdal from source, it is recommended that you consider not installing binary external dependencies, but installing them from source. All of the Linux GIS packages, be it Debian or RPM, have had numerous reported problems. So far, all installation problems on such systems have turned out to be problems in the external dependencies of rgdal, often multiple installs of GDAL (with the library pointed to by gdal-config not being the first such in the search path), or similar. I previously removed the old gdal RPMs, so there should be no 'gdal' left-overs. With elgis' gdal-1.7.3-3_0.el5.elgis.x86_64 and rgdal version 0.6-33, things worked fine. So this is work for you, nobody else. Using binary packages has advantages and disadvantages, you've hit a disadvantage, that "dependency hell" has said "hello". Well, installing from source may resolve one particular problem but introduces again new dependencies. Beside providing binaries, package managers and repositories such as 'elgis' for RHEL (and many others) are helping a lot to resolve exactly this "dependency hell". Thus, I guess this issue might interest others too. Thomas
Thomas Wuest Swiss Federal Research Institute WSL http://www.wsl.ch -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/rgdal-compile-error-on-RHEL5-SEC-UNCLASSIFIED-tp7580734p7581715.html Sent from the R-sig-geo mailing list archive at Nabble.com.