You are not logged in.
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
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
Please paste the full output of `pacman -Syu`.
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
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.
Online
@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
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
Offline
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
@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
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
@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
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
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
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,
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