gcc_termux
gcc_termux copied to clipboard
R update RSQLite failed
Hi, I'm using R on Termux. Both of them are on latest update (Termux from F-droid). During last update on R packages RSQLite failed following error.
installing to /data/data/com.termux/files/usr/lib/R/library/00LOCK-RSQLite/00new/RSQLite/libs
** R
** inst
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/data/data/com.termux/files/usr/lib/R/library/bit/libs/bit.so':
dlopen failed: library "libicuuc.so.67" not found: needed by /data/data/com.termux/files/usr/lib/R/library/bit/libs/bit.so in namespace (default)
Calls: <Anonymous> ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘RSQLite’
* removing ‘/data/data/com.termux/files/usr/lib/R/library/RSQLite’
* restoring previous ‘/data/data/com.termux/files/usr/lib/R/library/RSQLite’
The downloaded source packages are in
‘/data/data/com.termux/files/usr/tmp/RtmpN1K5tB/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, :
installation of package ‘RSQLite’ had non-zero exit status
I checked libicu;
pkg search libicu
libicu/stable, now 68.2-1 aarch64 [installed]
International Components for Unicode library
My system contains a newer version of libicu, RSQLite and related packages (sqldf) aren't work. How can solve this problem? Btw other packages are updated as expected. Thanks for your attention. Regards.
if /data/data/com.termux/files/usr/lib/R/library/bits is something you installed not me it needs to be reinstalled. rm -r /data/data/com.termux/files/usr/lib/R/library/bits then try reinstalling rsqlite
Hi again,
Removing bit package caused need it. Reinstalling bit package needed also bit64 package. After installing it, RSQLite update successfully done.
Thanks for your help. Regards.
Zeki Çatav zekicatav.com
17 Mar 2021 Çar 00:25 tarihinde its-pointless @.***> şunu yazdı:
if /data/data/com.termux/files/usr/lib/R/library/bits is something you installed not me it needs to be reinstalled. rm -r /data/data/com.termux/files/usr/lib/R/library/bits then try reinstalling rsqlite
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/its-pointless/gcc_termux/issues/115#issuecomment-800616555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGADUX5DRVJYTOPACRAOE6LTD7EEXANCNFSM4ZHEEY5Q .