Lex
February 27, 2022, 4:52am
1
Just in case it's useful to others.
Problem: On a MacBook, RStudio crashes on startup with the error "RStudio cannot be opened because of a problem".
Environment:
MacBook Air 2018, macOS 10.14.6
Installed R-4.1.2.pkg (R 4.1.2 binary for macOS 10.13 (High Sierra) and higher, Intel 64-bit build)
Installed RStudio-2022.02.0-443.dmg
The crash report includes the lines:
Termination Reason: DYLD, [0x1] Library missing
Library not loaded: @executable_path/../Frameworks/libssl.1.1.dylib
Attempts
RStudio-2022.06.0-daily-156.dmg (Latest daily build) -> Didn't work. Got the same error.
RStudio-2021.09.3-385.dmg (Latest patched version of the previous version) -> Didn't work. Got the same error.
Solution
RStudio-2021.09.2-382.dmg (Two versions back) -> This worked! RStudio Desktop started without crashing.
4 Likes
LiseD
March 2, 2022, 9:56am
2
Thank you so much, it worked for me too!
1 Like
Lex
March 2, 2022, 10:19am
3
That's great to hear @LiseD , I'm glad it was helpful.
Lex
March 2, 2022, 11:40pm
4
This incident has been reported on github:
opened 02:07AM - 02 Mar 22 UTC
closed 01:46AM - 21 Mar 24 UTC
bug
macos
qa repro
stale
Problem: On a MacBook, RStudio crashes on startup with the error "RStudio cannot… be opened because of a problem".
Environment:
- MacBook Air 2018, macOS 10.14.6
- Installed R-4.1.2.pkg (R 4.1.2 binary for macOS 10.13 (High Sierra) and higher, Intel 64-bit build)
- Installed RStudio-2022.02.0-443.dmg
The crash report includes the lines:
```
Termination Reason: DYLD, [0x1] Library missing
Library not loaded: @executable_path/../Frameworks/libssl.1.1.dylib
```
Workaround Attempts:
- RStudio-2022.06.0-daily-156.dmg (Latest daily build) -> Didn't work. Got the same error.
- RStudio-2021.09.3-385.dmg (Latest patched version of the previous version) -> Didn't work. Got the same error.
Workaround Solution
- RStudio-2021.09.2-382.dmg (Two versions back) -> This worked! RStudio Desktop started without crashing.
Note - This issue has been posted in the Community forum as I thought the workaround would be helpful to others, but I then realised that I might also need to post it here so that (assuming it does turn out to be a bug) it can be fixed.
https://community.rstudio.com/t/rstudio-desktop-crashes-on-startup-with-library-not-loaded/130296
[Crash_Report_130296.txt](https://github.com/rstudio/rstudio/files/8166026/Crash_Report_130296.txt)
In the process of the conversation on github I realised that the OS version I was using when I encountered this issue is no longer supported.
The oldest macOS version supported is 10.5 Catalina.
So, while the solution I described in the post above seems to be a useful workaround, the preferred / supported way to resolve the issue is to upgrade the OS.
evrim
March 21, 2022, 2:25pm
5
Worked for me, as well. Thanks!
2 Likes
system
Closed
April 11, 2022, 2:25pm
6
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.