You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use julia REPL using glibc grun but it's unable to find sys.so file in ~/julia/lib directory.
however it has loaded libjulia.so.1 library file.
~/julia-1.9.4/bin $ grun --list ./julia
linux-vdso.so.1 (0x00000078e84db000)
libdl.so.2 => /data/data/com.termux/files/usr/glibc/lib/libdl.so.2 (0x00000078e84b0000)
libpthread.so.0 => /data/data/com.termux/files/usr/glibc/lib/libpthread.so.0 (0x00000078e8480000)
libc.so.6 => /data/data/com.termux/files/usr/glibc/lib/libc.so.6 (0x00000078e8260000)
libjulia.so.1 => /home/julia-1.9.4/bin/./../lib/libjulia.so.1 (0x00000078e8220000)
/lib/ld-linux-aarch64.so.1 => ld.so (0x0000003000000000)
~/julia-1.9.4/bin $ grun ./julia
ERROR: could not load library "/usr/glibc/lib/../lib/julia/sys.so"
/usr/glibc/lib/../lib/julia/sys.so: cannot open shared object file: No such file or directory
System information
termux-info:
~/julia-1.9.4/bin $ termux-info
Termux Variables:
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=20826
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://grimler.se/termux-packages-24/ stable main
Updatable packages:
All packages up to date
termux-tools version:
1.39.6
Android version:
13
Kernel build information:
Linux localhost 4.14.186-perf-g46e858b6644e #1 SMP PREEMPT Mon Aug 28 15:26:14 CST 2023 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
22031116AI
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
The text was updated successfully, but these errors were encountered:
i have just tested it. if not inter proot environment it wouldn't work. it's throwing: bad system call. maybe there is some hardcoded paths in its source code or something i'm not sure though.
@ANIL80531, here are the commands that install and configure julia-1.10.0 on Termux aarch64:
# Make sure you have glibc 2.38-11 installed
pacman -Syu
# Launch custom shell
grun --shell
# Julia installation
wget https://julialang-s3.julialang.org/bin/linux/aarch64/1.10/julia-1.10.0-linux-aarch64.tar.gz
tar xf julia-1.10.0-linux-aarch64.tar.gz
# Setting up Julia
grun --set julia-1.10.0/bin/julia
ln -s ${PWD}/julia-1.10.0/lib/libjulia.so.1.10.0 ~/../usr/glibc/lib/libjulia.so.1.10
ln -s ${PWD}/julia-1.10.0/lib/julia ~/../usr/glibc/lib
# Launch of Julia
./julia-1.10.0/bin/julia
I'm trying to use julia REPL using glibc grun but it's unable to find sys.so file in ~/julia/lib directory.
however it has loaded libjulia.so.1 library file.
System information
termux-info:
The text was updated successfully, but these errors were encountered: