Installation of RCurl Setting LC_CTYPE failed, using "C" Error in dyn.load(file, DLLpath = DLLpath, ...) :
1
0
Entering edit mode
9.1 years ago

When I tried to install the "RCurl" for my R using biocLite("RCurl"),

During startup - Warning message:
Setting LC_CTYPE failed, using "C" 
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/misc/u32/huang/R/lib64/R/library/RCurl/libs/RCurl.so':
  libcurl.so.4: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/misc/u32/huang/R/lib64/R/library/RCurl'

> sessionInfo()
R version 3.1.3 (2015-03-09)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] BiocInstaller_1.16.5

loaded via a namespace (and not attached):
[1] tools_3.1.3

Could anyone figure out what went wrong?

If any further information are needed, please let me know.

Thanks!

R • 4.3k views
ADD COMMENT
1
Entering edit mode
9.1 years ago
ebrown1955 ▴ 320

Are you using windows, or unix based OS? If unix based, check if you have libcurl-devel installed. For example, in Ubuntu open a command line and type:

sudo apt-get install libcurl-devel

Afterwards try installing RCurl from bioconductor again.

ADD COMMENT
0
Entering edit mode

Dear Ebrown1955,

Thanks very much for you quick reply.

Sorry that I am sort of illiterate in terms of programming

Since the sessionInfo() suggested that

From Platform: x86_64-unknown-linux-gnu (64-bit)

I guess I am using unix based OS.

and I tried your suggestion:

-bash-3.2$ sudo apt-get install libcurl-devel

then I got:

[sudo] password for huang: #huang is my username

after I input my password:

sudo: apt-get: command not found

Could you tell what went wrong from that? Thanks very much.

Jun

ADD REPLY
1
Entering edit mode

Looks like you aren't using Ubuntu. Try:

sudo yum install libcurl-devel
ADD REPLY
0
Entering edit mode

It seems that I do not have the permission in the system to use the command:

-bash-3.2$ sudo yum install libcurl-devel
[sudo] password for huang: 
Sorry, user huang is not allowed to execute '/usr/bin/yum install libcurl-devel' as root on sysimm.

Is there another way to achieve the same goal?

ADD REPLY

Login before adding your answer.

Traffic: 1864 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6