Page MenuHomePhabricator

Unable to install stringi and stringr R libraries on PAWS
Closed, ResolvedPublicBUG REPORT


Steps to replicate the issue (include links if applicable):

  • Open an Jupyter Notebook with R kernel on
  • Install the stringi library : install.packages("stringi")
  • Load the stringi library : library("stringi")

What happens?:

  • You've got the message " unable to load shared object '/srv/r/stringi/libs/':"

On Ubuntu, stringi requires the library libicu-dev to be installed (

Is it possible to install libicu-dev on PAWS ?

FYI stringi is a very important string manipulation library in R. stringr depends on stringi.

See for an example.

What should have happened instead?:

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

PAC2 renamed this task from Add libicu-dev library to PAWS to Unable to install stringi and stringr R libraries on PAWS.Mar 6 2023, 10:21 PM
PAC2 created this task.

We can test out the PR locally when it is finished building. Though we probably won't deploy until next week when PAWS is back to one cluster.

Looking a little closer it would appear that libicu-dev is already installed

@PAWS:~$ dpkg -l | grep icu
ii  icu-devtools                              70.1-2                                  amd64        Development utilities for International Components for Unicode
ii  libicu-dev:amd64                          70.1-2                                  amd64        Development files for International Components for Unicode
ii  libicu70:amd64                            70.1-2                                  amd64        International Components for Unicode

I'm wondering if this has to do with libicu70, when perhaps it is libicu66 that is expected?

I see cannot open shared object file: No such file or directory

In the output when I run the steps described by @PAC2

Thanks for your feedback.

I still have the same issue :

So maybe we need libicu66

I think this is working now. R was pulling from some focal rather than jammy repos.