Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R update RSQLite failed #115

Open
zcatav opened this issue Mar 15, 2021 · 2 comments
Open

R update RSQLite failed #115

zcatav opened this issue Mar 15, 2021 · 2 comments

Comments

@zcatav
Copy link

zcatav commented Mar 15, 2021

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.

@its-pointless
Copy link
Owner

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

@zcatav
Copy link
Author

zcatav commented Mar 17, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants