You are not logged in.

#1 2017-06-03 01:15:37

ireng
Member
From: Bradford
Registered: 2016-03-09
Posts: 43

[SOLVED] libgfortran.so.3:cannot open shared object file: No such file

Hi guys ,
I use Arch linux for my data science project .
Today , I try running R studio and it complains

Error: package or namespace load failed for ‘caret’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/robot/R/x86_64-pc-linux-gnu-library/3.4/quantreg/libs/quantreg.so':
  libgfortran.so.3: cannot open shared object file: No such file or directory

Anyone knows how to install  libgfortran.so.3 please.

Let me know how please

Thanks

Last edited by ireng (2017-06-03 17:51:02)


Kind Regards,
jIrenge

Offline

#2 2017-06-03 01:24:15

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

I can see a file name like this in the package "gcc5".

You can search for files in uninstalled packages like this:

$ sudo pacman -Fy   # you only need to do this occasionally
$ pacman -Fs libgfortran.so.3

Offline

#3 2017-06-03 01:24:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

Please paste the full output of `pacman -Syu`.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-06-03 01:24:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2017-06-03 01:29:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,471

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

Is this something that's build from source? If so, you just need to rebuild it against the new lib, you don't need the old one.

Offline

#6 2017-06-03 15:59:24

ireng
Member
From: Bradford
Registered: 2016-03-09
Posts: 43

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

@Jasonwryan,

 sudo pacman -Syuu

give me

[robot@machine-learning ~]$ sudo pacman -Syuu
[sudo] password for robot:
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
there is nothing to do

Still not working


Kind Regards,
jIrenge

Offline

#7 2017-06-03 16:02:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,743

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#8 2017-06-03 16:04:06

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

I'd say this

'/home/robot/R/x86_64-pc-linux-gnu-library/3.4/quantreg/libs/quantreg.so'

makes https://bbs.archlinux.org/viewtopic.php … 4#p1715454 the most important question here.

Offline

#9 2017-06-03 16:24:58

ireng
Member
From: Bradford
Registered: 2016-03-09
Posts: 43

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

@Ropid,

sudo pacman -Fy
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlinuxfr is up to date
[robot@machine-learning ~]$ pacman -Fs libgfortran.so.3
community/gcc5 5.4.0-1
    usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libgfortran.so.3


Kind Regards,
jIrenge

Offline

#10 2017-06-03 16:33:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

So ... rebuild your locally installed quantreg R package, or install gcc5 and mark the thread as solved.  The former is probably a much better approach.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2017-06-03 17:01:11

ireng
Member
From: Bradford
Registered: 2016-03-09
Posts: 43

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

@seth,
Thanks I will say that s the issue , the file does not exist . Would you mind to point me on how to get the file back . I tried removing  aur repo and update but to no avail


Kind Regards,
jIrenge

Offline

#12 2017-06-03 17:02:25

ireng
Member
From: Bradford
Registered: 2016-03-09
Posts: 43

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

Scimmia wrote:

Is this something that's build from source? If so, you just need to rebuild it against the new lib, you don't need the old one.

How can I do this please ?
I am still a bit newbe


Kind Regards,
jIrenge

Offline

#13 2017-06-03 17:03:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

Trilby wrote:

So ... rebuild your locally installed quantreg R package

That's how.

And there is no "AUR repo", there is only the perpetually broken archlinux.fr repo that you previously had enabled - that should never be enabled.

EDIT:  How do you do it, exactly the same way you installed it.  It looks like you ran R as root, then used install.packages('quantreg').


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#14 2017-06-03 17:49:56

ireng
Member
From: Bradford
Registered: 2016-03-09
Posts: 43

Re: [SOLVED] libgfortran.so.3:cannot open shared object file: No such file

Trilby wrote:
Trilby wrote:

So ... rebuild your locally installed quantreg R package

That's how.

And there is no "AUR repo", there is only the perpetually broken archlinux.fr repo that you previously had enabled - that should never be enabled.

EDIT:  How do you do it, exactly the same way you installed it.  It looks like you ran R as root, then used install.packages('quantreg').

Thanks Trilby, cool

I installed both in root and in my user accounts , in R prompt

> install.packages('quantreg') 

and it s now working.

Thanks everyone for pointing me to the right direction, I really appreciate.

I have disabled AUR repo coz I do not want any future problem that will take time to solve.

Cheers

Last edited by ireng (2017-06-03 17:53:45)


Kind Regards,
jIrenge

Offline

Board footer

Powered by FluxBB