Bug 481326 - KWard does not install properly
Summary: KWard does not install properly
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: R Console (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-14 15:39 UTC by Reuben
Modified: 2024-02-16 18:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben 2024-02-14 15:39:57 UTC
SUMMARY
***
I am trying to install rKWARd on a Mac. MacOs 14.2.1

I followed all instruction on the install webpage and installed R 4.3.2, then KWard 0.7.5

Everytime I start Kward I get the following message

The backend process failed to start with exit code 6, message: 'dyld[2067]: Library not loaded: @rpath/libR.dylib
  Referenced from: <486CAC2A-C75D-3CFF-9A10-B9AF33F2175C> /Applications/rkward.app/Contents/MacOS/rkward.rbackend
  Reason: tried: '/Users/packaging/Craft/BinaryFactory/macos-64-clang/lib/R/R.framework/Resources/lib/libR.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/packaging/Craft/BinaryFactory/macos-64-clang/lib/R/R.framework/Resources/lib/libR.dylib' (no such file), './libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/packaging/Craft/BinaryFactory/macos-64-clang/lib/R/R.framework/Resources/lib/libR.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/packaging/Craft/BinaryFactory/macos-64-clang/lib/R/R.framework/Resources/lib/libR.dylib' (no such file), './libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libR.dylib' (no such file, not in dyld cache)
'.
The R backend will be shut down immediately. This means, you can not use any more functions that rely on it. I.e. you can do hardly anything at all, not even save the workspace (but if you're lucky, R already did that). What you can do, however, is save any open command-files, the output, or copy data out of open data editors. Quit RKWard after that. Sorry!

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS:  14.2.1
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: Kward 0.7.5
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Thomas Friedrichsmeier 2024-02-16 13:39:07 UTC
> ./libR.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

For the time being, only the x86_64 variant of R is supported. You need to install that.
Comment 2 Reuben 2024-02-16 18:45:13 UTC
Thank you so much, It worked perfectly.