gcc_termux
gcc_termux copied to clipboard
Installing R: package "libicuuc.so.69" not found
After running the repo install script and installing R, I get this error when running it:
~ $ pkg install r-base
Checking availability of current mirror: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libgfortran5 libicu openblas
The following NEW packages will be installed:
libgfortran5 libicu openblas r-base
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 55.2 MB of archives.
After this operation, 125 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://its-pointless.github.io/files/24 termux/extras aarch64 libgfortran5 aarch64 11.1.0 [357 kB]
Get:2 https://packages-cf.termux.org/apt/termux-main stable/main aarch64 libicu aarch64 70.1 [9272 kB]
Get:3 https://its-pointless.github.io/files/24 termux/extras aarch64 openblas aarch64 0.3.15 [2204 kB]
Get:4 https://its-pointless.github.io/files/24 termux/extras aarch64 r-base aarch64 4.1.0 [43.4 MB]
Fetched 55.2 MB in 47s (1165 kB/s)
Selecting previously unselected package libgfortran5.
(Reading database ... 30890 files and directories currently installed.)
Preparing to unpack .../libgfortran5_11.1.0_aarch64.deb ...
Unpacking libgfortran5 (11.1.0) ...
Selecting previously unselected package libicu.
Preparing to unpack .../libicu_70.1_aarch64.deb ...
Unpacking libicu (70.1) ...
Selecting previously unselected package openblas.
Preparing to unpack .../openblas_0.3.15_aarch64.deb ...
Unpacking openblas (0.3.15) ...
Selecting previously unselected package r-base.
Preparing to unpack .../r-base_4.1.0_aarch64.deb ...
Unpacking r-base (4.1.0) ...
Setting up libicu (70.1) ...
Setting up libgfortran5 (11.1.0) ...
Setting up openblas (0.3.15) ...
Setting up r-base (4.1.0) ...
~ $ R
CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/lib/R/bin/exec/R": library "libicuuc.so.69" not found
Aborted
~ $
When i try to install libicu manually it says it's on the latest version (70.1)
The problem is that libicu is now version 70.1, but the R from r-,base is pointing to the older version 69. Perhaps, r-base needs to be rebuilt. @leechaowen has put a step by step way to compile R from source: https://github.com/its-pointless/gcc_termux/issues/135
@leechaowen has put a step by step way to compile R from source: #135
this works, thanks for the reply
The problem is that libicu is now version 70.1, but the R from r-,base is pointing to the older version 69. Perhaps, r-base needs to be rebuilt. @leechaowen has put a step by step way to compile R from source: #135
thanks