On 05/10/16 12:39, Dirk Eddelbuettel wrote:

On 5 October 2016 at 12:16, Rolf Turner wrote:
|
| On 05/10/16 12:07, Michael Rutter wrote:
|
| > Typo on my part.  Try r-cran-rgdal.
|
| Thanks. OK, I have now done
|
|      sudo apt-get install r-cran-rgdal
|
| successfully.

Very good.

Now do

   IP <- installed.packages()

and convince yourself that you have rgdal. You could even do

   library(rgdal)

| But sad to say, it didn't help a bit.  When I try
|
|      install.packages("rgdal",lib="/home/rolf/Rlib")
|
| I get exactly the same error as before.  I.e.
|
|      > undefined symbol: CPLQuietErrorHandler

Computers have that silly habit of being deterministic. _Installing from
source another time_ does not change the fact that you did not have your
ducks in a row in the first place.  We did not change that; Michael merely
pointed you to a different pond with different ducks, ready to roast.

Dirk, this is not helpful. How the <expletive deleted> do I get my ducks in a row?

Explicitly, I guess, how do I get the symbol "CPLQuietErrorHandler" defined?

I looked at the src directory for rgdal; the only filed that referred to
"CPLQuietErrorHandler" was gdal_bindings.cpp.

I noticed that it had a #include <cpl_error.h> in it.

I found a header file cpl_error.h in /usr/include/gdal.  It includes the
line:

void CPL_DLL CPL_STDCALL CPLQuietErrorHandler( CPLErr, int, const char * );

Doesn't this define "CPLQuietErrorHandler"?

What in God's name do I need to do to get this <expletive deleted> package working?

cheers,

Rolf


--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to