Question: Installation of RCurl Setting LC_CTYPE failed, using "C" Error in dyn.load(file, DLLpath = DLLpath, ...) :
0
gravatar for Wet&DryImmunology
3.1 years ago by
Japan
Wet&DryImmunology200 wrote:

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 • 1.8k views
ADD COMMENTlink modified 3 days ago by walkerbrian2470 • written 3.1 years ago by Wet&DryImmunology200
1
gravatar for ebrown1955
3.1 years ago by
ebrown1955290
United States
ebrown1955290 wrote:

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 COMMENTlink modified 2 days ago by RamRS19k • written 3.1 years ago by ebrown1955290

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 REPLYlink modified 2 days ago by RamRS19k • written 3.1 years ago by Wet&DryImmunology200
1

Looks like you aren't using Ubuntu. Try:

sudo yum install libcurl-devel
ADD REPLYlink modified 2 days ago by RamRS19k • written 3.1 years ago by ebrown1955290

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 REPLYlink modified 2 days ago by RamRS19k • written 3.1 years ago by Wet&DryImmunology200
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1625 users visited in the last hour