我希望得到有关安装 R 后遇到的错误方面的帮助。我按照 \'https://cran.r-project.org/bin/linux/ubuntu/fullREADME.html#installing-r\' 中的所有步骤进行安装...
我希望有人能帮我解决安装 R 后遇到的错误。我按照 \' https://cran.r-project.org/bin/linux/ubuntu/fullREADME.html#installing-r \' 中的所有步骤在 Ubuntu 24.04 LTS 中安装 R。但是,在我的终端中启动 R 后报告了以下错误: \' /usr/local/lib/R/bin/exec/R: error while loading shared libraries: libicuuc.so.72: cannot open shared object file: No such file or directory \'。有什么办法可以修复它吗?
$ docker run --rm -ti rocker/r2u:noble bash
root@ddcecd84f2b5:/# cd
root@ddcecd84f2b5:~# R
R version 4.4.1 (2024-06-14) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> q()
Save workspace image? [y/n/c]: n
root@ddcecd84f2b5:~#
root@ddcecd84f2b5:~# apt update -qqq
root@ddcecd84f2b5:~# apt-cache policy r-base-core
r-base-core:
Installed: 4.4.1-1.2404.0
Candidate: 4.4.1-1.2404.0
Version table:
*** 4.4.1-1.2404.0 500
500 https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ Packages
100 /var/lib/dpkg/status
4.4.0-2.2404.0 500
500 https://cloud.r-project.org/bin/linux/ubuntu noble-cran40/ Packages
4.3.3-2build2 500
500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
root@ddcecd84f2b5:~#
Execute debugger commands using "-exec <command>", for example "-exec info registers" will list registers in use (when GDB is the debugger)
[New Thread 0x7ffff2787640 (LWP 62053)]
[New Thread 0x7ffff1f86640 (LWP 62054)]
Thread 1 "customWidget" received signal SIGSEGV, Segmentation fault.
0x00007ffff39420fa in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=0x8) at /home/user/vcpkg/buildtrees/qtbase/src/here-src-6-ac50939fe7.clean/src/corelib/tools/qscopedpointer.h:112
apt 版本 qt6 输出:
[Thread 0x7ffff6136900 (LWP 64001) exited]
[Thread 0x7ffff3332640 (LWP 64018) exited]
[New process 64001]
[Inferior 1 (process 64001) exited with code 0177]
The program '/home/user/Program/own/bugs/ubuntu+cmake+qt/out/build/gcc_vcpkg_debug/bin/customWidget' has exited with code 177 (0x000000b1).