randy3k / radian

A 21 century R console
MIT License
2k stars 76 forks source link

icu 69 required; 70.1 installed #321

Closed rrodrigueznt closed 1 year ago

rrodrigueznt commented 2 years ago

Hi! A new update broke my radian installation once again!

Radian claims it needs icu release 69 and my Termux on Android installation has 70.1. I've tried to create some symlinks from 70.1 to 69 libraries, but it detects

.../usr/lib $ radian
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/radian", line 33, in <module>
    sys.exit(load_entry_point('radian==0.5.12', 'console_scripts', 'radian')())
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/radian/_init_.py", line 108, in main
    RadianApplication(r_home, ver=_version_).run(options)
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/radian/radianapp.py", line 96, in run
    rchitect.init(args=args, register_signal_handlers=True)
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/rchitect/setup.py", line 46, in init
    raise Exception(load_lib_error())
Exception: Cannot load shared library: dlopen failed: cannot locate symbol "ucol_open_69" referenced by "/data/data/com.termux/files/usr/lib/R/lib/libR.so"...
.../usr/lib $

Please, is there any way of working with 70.1 or should I downgrade to icu 69? Thanks!

randy3k commented 2 years ago

how about the regular R? it seems that it is the issue of libR.so, not a radian specific issue.

rrodrigueznt commented 2 years ago

You are right: same error. I didn't try R after solving some previous errors with radian. I'll look for a forum where ask about libR.so and report back! Thank you very much!

randy3k commented 2 years ago

I believe you will need to reinstall R because icu has been updated and R depends on it.

rrodrigueznt commented 2 years ago

A simple pkg reinstall r-base didn't work. I guess it is expected, and I should build r-base on Termux to get it working.

I also find https://stackoverflow.com/questions/36968411/installing-r-on-android. It includes a reference to a similar issue. The symlink trick doesn't work with 70.1 and the current release of R on Termux.

I'll keep trying. Any new idea is always welcome. Thanks!

rrodrigueznt commented 2 years ago

A simple pkg reinstall r-base didn't work. I guess it is expected, and I should build r-base on Termux to get it working.

https://github.com/its-pointless/gcc_termux/issues/139#issue-1058831277

rrodrigueznt commented 2 years ago

Solved.

Please, see https://github.com/its-pointless/gcc_termux/issues/135#issue-1048352609

Thanks!