Skip to content
Prev 28738 / 63421 Next

[BioC] RCurl loading problem with 64 bit linux distribution

Let's move this to R-devel.  It's programming (not even R programming), 
and getting complex.

One crucial issue issue is how you installed R -- from sources or as a 
binary.  Also, I am assuming that this is x86_64 (there are other '64-bit'
Linuxen).

Library paths are determined by LD_LIBRARY_PATH, amongst other things (and 
not by PATH on Linux).  With R built from the sources, this will include 
/usr/local/lib64, but I believe that for a binary build it does not -- 
look in R_HOME/etc/ldpaths to see.

Also, you seem to have compiled curl to be in /usr/local/lib -- if this is 
an x86_64 system that might well not be found -- it is not where R's paths 
look.  (It's a common issue with compiling autoconf-ed packages -- you 
need to set --libdir=/usr/local/lib64, say.)

RCurl uses pkg_config to to find libcurl, and that does not by default 
look in /usr/local.  So it is likely that it looked at the Ubuntu version 
and not the one you installed.

I don't think that curl 7.18.1 is enough of an improvement to make all 
these hassles worthwhile -- I would do a 'make uninstall' on your own 
version.

DTL and I have been having some private correspondence about this.  At 
present RCurl_0.9-1 still segfaults for me because the configure detection 
isn't detecting (this is F8, curl 7.17.1).  If you can, I'd wait until 
that is resolved.  I have installed RCurl_0.8-3 for 'production' use. (It 
is still up at http://www.omegahat.org/RCurl/RCurl_0.8-3.tar.gz, it not 
obvious on the web pages.)
On Wed, 7 May 2008, Mark Kimpel wrote:

            
That doesn't help, because Linux distros strip symbols.