Installation error httpuv dependency

When I try to install shiny in R (3..5.2) on Linux (RHEL 6) I get a message that a dependency package "httpuv" is missing. When I try to install "httpuv" (both from within R and outside) I get the following error:

To use the latest libcurl

export LD_LIBRARY_PATH=/srv/agarw005/installs/curl/libcurl/lib/:$LD_LIBRARY_PATH

sudo /installs/R/R-3.5.2/bin/R CMD INSTALL /installs/R_Packages_112619/httpuv

  • installing to library ‘/GenomicPrimaryData/installs/R/R-3.5.2/lib64/R/library’
  • installing source package ‘httpuv’ ...
    ** package ‘httpuv’ successfully unpacked and MD5 sums checked
    ** libs
    make --directory=libuv
    make[1]: Entering directory /srv/agarw005/installs/R_Packages_112619/httpuv/src/libuv' CCLD libtool: error: require no space between '-L' and '/usr/local/curl/lib' make[1]: *** [] Error 1 make[1]: Leaving directory /srv/agarw005/installs/R_Packages_112619/httpuv/src/libuv'
    make: *** [libuv/.libs/libuv.a] Error 2
    ERROR: compilation failed for package ‘httpuv’
  • removing ‘/GenomicPrimaryData/installs/R/R-3.5.2/lib64/R/library/httpuv’

I found this same problem with installation of Julia at the following link but it does not work for me because LD_FLAGS is not set


  • Pankaj

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