Questions and Answers :
Unix/Linux :
Linux/armhf and Linux/arm64 support status thread
Message board moderation
Previous · 1 · 2
Author | Message |
---|---|
Send message Joined: 3 Jul 20 Posts: 13 Credit: 13,421,453 RAC: 1,267 ![]() ![]() ![]() ![]() ![]() |
No problem here with the rant. Was a UNIX admin in a production environment. I feel your pain. ;-) Good luck, hope things go better for ya soon! |
Send message Joined: 10 Aug 20 Posts: 13 Credit: 6,159,690 RAC: 0 ![]() ![]() ![]() ![]() |
Odroid c4 same as Jetson. OK with 64bit, 32bit errors out. Ubuntu 20.04 aarch64 On my Odroi-C4 i have same problem with 32bit app. After: sudo apt install zlib1g:armhf sudo apt install libfuse2:armhf the 32bit run without problem. https://www.mlcathome.org/mlcathome/results.php?hostid=1933 |
Send message Joined: 3 Jul 20 Posts: 13 Credit: 13,421,453 RAC: 1,267 ![]() ![]() ![]() ![]() ![]() |
Thanks JagDoc! |
![]() Send message Joined: 1 Jul 20 Posts: 4 Credit: 2,364,110 RAC: 124 ![]() ![]() ![]() ![]() |
Thanks for the response. I'd already tried to run ldd on the app, as that's how i usually fix this sort of issue, but the way it's packaged means I can't see what it needs. Is it possible for you to list which libraries the aarch64 app actually needs please? |
Send message Joined: 24 Jul 20 Posts: 30 Credit: 3,485,605 RAC: 0 ![]() ![]() ![]() ![]() |
I'd already tried to run ldd on the app, as that's how i usually fix this sort of issue, but the way it's packaged means I can't see what it needsRun it with "--appimage-extract" as the only parameter. |
Send message Joined: 30 Jun 20 Posts: 461 Credit: 21,406,548 RAC: 2,346 ![]() ![]() ![]() ![]() ![]() |
Thanks for the response. If you run the client with "--appimage-extract" it extract the embedded filesystem to a "squashfs-root" directory. Here's the output of ldd for the armhf client: john@debian-imx6-4:~/squashfs-root/usr/bin$ ldd mlds linux-vdso.so.1 (0xbea12000) libtorch.so => /home/john/squashfs-root/usr/bin/./../lib/libtorch.so (0xb695f000) libc10.so => /home/john/squashfs-root/usr/bin/./../lib/libc10.so (0xb690b000) libtorch_cpu.so => /home/john/squashfs-root/usr/bin/./../lib/libtorch_cpu.so (0xb4487000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb4443000) libsz.so.2 => /home/john/squashfs-root/usr/bin/./../lib/libsz.so.2 (0xb442f000) libz.so.1 => /home/john/squashfs-root/usr/bin/./../lib/libz.so.1 (0xb440a000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb43f7000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb437c000) libgomp.so.1 => /home/john/squashfs-root/usr/bin/./../lib/libgomp.so.1 (0xb434b000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb4251000) /lib/ld-linux-armhf.so.3 (0xb6f04000) libnuma.so.1 => /home/john/squashfs-root/usr/bin/./../lib/libnuma.so.1 (0xb4237000) libstdc++.so.6 => /home/john/squashfs-root/usr/bin/./../lib/libstdc++.so.6 (0xb40ea000) libgcc_s.so.1 => /home/john/squashfs-root/usr/bin/./../lib/libgcc_s.so.1 (0xb40bb000) librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb40a5000) libopenblas.so.0 => /home/john/squashfs-root/usr/bin/./../lib/libopenblas.so.0 (0xb3a91000) libaec.so.0 => /home/john/squashfs-root/usr/bin/./../lib/libaec.so.0 (0xb3a79000) libgfortran.so.5 => /home/john/squashfs-root/usr/bin/./../lib/libgfortran.so.5 (0xb39d1000) john@debian-imx6-4:~/squashfs-root/usr/bin$ As you can see,all dependencies except for libdl, libm, libc, librt, libpthread, and the loader are included with the client. Here's aarch64,same story. pi@pi4-64:~/squashfs-root/usr/bin $ ldd ./mlds linux-vdso.so.1 (0x0000007f85dfd000) libtorch.so => /home/pi/squashfs-root/usr/bin/./../lib/libtorch.so (0x0000007f85dbd000) libc10.so => /home/pi/squashfs-root/usr/bin/./../lib/libc10.so (0x0000007f85d54000) libtorch_cpu.so => /home/pi/squashfs-root/usr/bin/./../lib/libtorch_cpu.so (0x0000007f821d9000) libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f82183000) libsz.so.2 => /home/pi/squashfs-root/usr/bin/./../lib/libsz.so.2 (0x0000007f8216f000) libz.so.1 => /home/pi/squashfs-root/usr/bin/./../lib/libz.so.1 (0x0000007f82141000) libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f8212d000) libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f82070000) libomp.so.5 => /home/pi/squashfs-root/usr/bin/./../lib/libomp.so.5 (0x0000007f81f88000) libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f81e16000) /lib/ld-linux-aarch64.so.1 (0x0000007f85dcf000) libstdc++.so.6 => /home/pi/squashfs-root/usr/bin/./../lib/libstdc++.so.6 (0x0000007f81c41000) libgcc_s.so.1 => /home/pi/squashfs-root/usr/bin/./../lib/libgcc_s.so.1 (0x0000007f81c1c000) libnuma.so.1 => /home/pi/squashfs-root/usr/bin/./../lib/libnuma.so.1 (0x0000007f81bfb000) librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f81be3000) libopenblas.so.0 => /home/pi/squashfs-root/usr/bin/./../lib/libopenblas.so.0 (0x0000007f811a7000) libaec.so.0 => /home/pi/squashfs-root/usr/bin/./../lib/libaec.so.0 (0x0000007f8118f000) libgfortran.so.5 => /home/pi/squashfs-root/usr/bin/./../lib/libgfortran.so.5 (0x0000007f81036000) pi@pi4-64:~/squashfs-root/usr/bin $ Hope that helps |
©2022 MLC@Home Team
A project of the Cognition, Robotics, and Learning (CORAL) Lab at the University of Maryland, Baltimore County (UMBC)