After installing readr 1.2.1, unable to load shared object readr.so

Split from: Development version of readr failing to compile


I was able to install readr 1.2.1 using that cached version:

trying URL 'http://package-proxy/src/contrib/readr_1.2.1.tar.gz'
Content type 'application/x-tar' length 4696638 bytes (4.5 MB)

But when I load the package I get this error:

library(readr)
Error: package or namespace load failed for ‘readr’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/readr/libs/readr.so':
  librcon.so: cannot open shared object file: No such file or directory

Do you know if this is a related problem?
I don't have this problem installing and loading it locally.

Thanks!

1 Like

Plausibly, the package was loaded during the installation. Try

remove.packages("readr")

Close down all your R sessions. Then

install.packages("readr")

There is an issue with readr 1.2.1 and a shared library that was renamed.
We are working with Jim Hester to get this resolved as swiftly as possible.

3 Likes

readr should now be loadable as we've cached a new version of readr 1.2.1 which includes the patch Dirk mentions here: https://github.com/tidyverse/readr/issues/922#issuecomment-441872883

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.