Is your software entirely user space? Or is there driver or kernel code? Is there code related to boot?
If your software is purely user space software, i.e., an ordinary program run by a user, then it might link to other libraries. If you link against the major release version of the o/s as compiled on the Jetson, or with a sysroot from such a Jetson while cross-compiling, then it should work. You can mark the glibc major release as a dependency if you wish.
If you are looking at a common user space binary executable, then you can get an idea of its library linkage from ldd
. For example, if you have binary executable “/usr/bin/ls
”, then you can see what it dynamically links against like this:
ldd /usr/bin/ls
Software can be compiled with static linkage as well if you have the source code, but that’s usually for portability reasons and not necessarily all that useful for a typical user space program. This also tends to consume a lot of disk space.
Note that any library usually has a major version, a minor version, and a patch release. Quite often major release compatibility is all that is needed. If you want to see what libraries are in your system’s default linker path, and to see the link between some major and minor release equivalents, try this:
ldconfig -p
Note that you will get an “alias” for a lib of some major release, and that this will point at a more specific file or location that is more detailed; this file in turn can also point to some more detailed release version. Most programs link to the least specific version, not the more specific version.
Unless you have a scripted program, e.g., Python or shell scripts as an example, your binary executable will have to be against the Jetson’s architecture. You cannot compile on a host PC as an x86/x86_64/amd64 architecture and get it to work on a Jetson. You have to compile it against 64-bit ARM (armv8-a/aarch64/arm64). This latter is automatic if you compile natively on the Jetson. If you’ve specified this in a cross compile and are linking on the host PC against the Jetson’s sysroot, then this also works. It’s quite difficult to answer this without more information about many details.