1

I am running a software and it gives this error:

error while loading shared libraries: libRmath.so: cannot open shared object file: No such file or directory

Can you please help me fix this error, how to create this or install?

star
  • 21
  • 1
  • 1
    Could you please add a little more detail? What *exactly* did you do, what did you want to achieve and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. (see [How do I ask a good question?](https://askubuntu.com/help/how-to-ask)) – dessert Sep 21 '17 at 21:30
  • Possible duplicate of [How do I find the package that provides a file?](https://askubuntu.com/questions/481/how-do-i-find-the-package-that-provides-a-file) – Eliah Kagan Oct 05 '17 at 21:25

1 Answers1

5

You can use "Search the contents of packages" on https://packages.ubuntu.com/ to find the package that contains a given file.

For libRmath.so this finds r-mathlib. Installing that package will likely fix the error.

Florian Diesch
  • 86,013
  • 17
  • 224
  • 214