Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling from source: "error while loading shared libraries: libicui18n.so.55: cannot open shared object file: No such file or directory" #1724

Closed
zachokeeffe opened this issue Nov 8, 2017 · 7 comments
Labels

Comments

@zachokeeffe
Copy link

zachokeeffe commented Nov 8, 2017

Using Debian 9.2. Trying to compile from source, but sudo make install fails at Generating ui_DesktopInputDialog.h, giving the error:

error while loading shared libraries: libicui18n.so.55: cannot open shared object file: No such file or directory
src/cpp/desktop/CMakeFiles/rstudio.dir/build.make:208: recipe for target 'src/cpp/desktop/ui_DesktopInputDialog.h' failed
make[2]: *** [src/cpp/desktop/ui_DesktopInputDialog.h] Error 127
CMakeFiles/Makefile2:550: recipe for target 'src/cpp/desktop/CMakeFiles/rstudio.dir/all' failed
make[1]: *** [src/cpp/desktop/CMakeFiles/rstudio.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Installing from .deb works (though there are a ton of issues with it, which is why I'm trying to install from source). I ran ./install-dependencies-debian successfully beforehand.

@zachokeeffe
Copy link
Author

zachokeeffe commented Nov 8, 2017

That was using last night's build, actually. Now I'm getting the issue from sudo make install (after rerunning the dependencies installation),

CMake Error: Parse error in cache file /victor/Downloads/rstudio-master/build/CMakeCache.txt on line 353. Offending entry: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

@jmcphers
Copy link
Member

jmcphers commented Nov 8, 2017

What are you trying to accomplish?

You might try building with our Debian 9 Dockerfile, which will get you an image that's set up for building RStudio: https://github.com/rstudio/rstudio/blob/master/docker/jenkins/Dockerfile.debian9-x86_64

If you're not familiar with Docker, there's also a script which does the work for you -- just run docker-compile.sh for instructions.

https://github.com/rstudio/rstudio/blob/master/docker/docker-compile.sh

@zachokeeffe
Copy link
Author

Hm, don't know about Docker, I'll look into that--thanks. I restarted, and ran make install (omitting sudo), and now it appears to be running.

I'm trying to get RStudio to run properly on my machine. It either takes a minute or two to save a file, or crashes. The constant hanging and crashing is making it virtually unusable.

@jmcphers
Copy link
Member

jmcphers commented Nov 8, 2017

Do the dailies work for you? The issue you describe sounds like #1587, which is fixed in the dailies (and will be in an upcoming patch release to 1.1).

https://dailies.rstudio.com/

Not sure about the crashing, though. Can you open an issue with a stack trace if you can capture one?

@zachokeeffe
Copy link
Author

Oh wow, yes--rstudio-trusty-1.2.158-amd64.deb did the trick, thank you! I'm still encountering the issue with Tools > Global Options... though. It takes 30 seconds to open the dialogue box, if it doesn't crash--though once it loads it works fine. How would I do the stack trace you mentioned?

@pat-s
Copy link

pat-s commented Dec 19, 2017

duplicate of #1871?

@jmcphers
Copy link
Member

jmcphers commented Nov 7, 2019

It takes 30 seconds to open the dialogue box

This is almost always due to lots of installed fonts, and is resolved in the current release (we now cache; see #1889).

@jmcphers jmcphers closed this as completed Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants