Related to Broken RStudio, VLC, and other apps because of Qt incompatibility on Ubuntu 20.04
I am trying to build RStudio with accessibility options, which requires a regular build:
git clone [email protected]:rstudio/rstudio.git
cd rstudio
mkdir build && cd build
sudo ln -sf /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/ /usr/local/bin/
cmake .. -DRSTUDIO_TARGET=Desktop -DRSTUDIO_PACKAGE_BUILD=1 -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake
The make install fails because it can't find libicu
[ 2%] Built target rstudio-shared-core
[ 4%] Built target rstudio-core-hunspell
[ 25%] Built target rstudio-core
[ 26%] Built target rstudio-session-workers
[ 26%] Built target rstudio-core-synctex
[ 27%] Built target rstudio-monitor
[ 33%] Built target rstudio-r
[ 75%] Built target rsession
[ 75%] Built target gwt_build
[ 76%] Built target rstudio-shared-core-tests
[ 82%] Built target rstudio-core-tests
[ 82%] Built target diagnostics
make[2]: *** No rule to make target '/usr/lib/lib/libicui18n.so', needed by 'src/cpp/desktop/rstudio'. Stop.
make[1]: *** [CMakeFiles/Makefile2:728: src/cpp/desktop/CMakeFiles/rstudio.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
I find it strange to point to /usr/lib/lib/
, which is a directory that doesn't exist.