How to run a binary build for arm64 directly when docker run

khaled.hassan

18h

Hi,
I want to include a custom .so file.
Seems it was problem to set LD_LIBRARY_PATH. So would you please let me know how can I set it.

Moreover I am getting below error while trying to run a binary which is build for arm64 using cross-compiler

=thread-group-added,id=“i1”
GNU gdb (Debian 13.1-3) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type “show copying” and “show warranty” for details.
This GDB was configured as “aarch64-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type “help”.
Type “apropos word” to search for commands related to “word”.
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
=cmd-param-changed,param=“pagination”,value=“off”
[Inferior 1 (process 21) exited with code 0177]

The program ‘/home/torizon/app/quick_start_chargepoint’ has exited with code 177 (0x000000b1).

Hello @khaled.hassan,

I see that you’ve created another post on the same topic: Running binary build for torizon as executable in docker container instead of default executable - #3 by rudhi.tx
Please check my latest reply on the other thread.