I am installing Shiny on a Raspberry Pi running on Raspbian (Debian 9 modified for the Raspberry Pi architecture). I have done this before; this is a re-installation after a hard drive replacement. I am following the instructions at http://docs.rstudio.com/shiny-server/#install-shiny. Running
sudo su - -c "R -e "install.packages('shiny', repos = 'https://cran.rstudio.com')""
eventually fails when testing the loading of the httpuv package, with this message:
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, …) :
unable to load shared object '/usr/local/lib/R/site-library/httpuv.so':
/usr/local/lib/R/site-library/httpuv/libs/httpun.so: undefined symbol: pthread_atfork
Error: loading failed
I successfully installed Shiny on this same system two weeks ago. How do I eliminate that error?