Missing lib for Arm64 c compiler

I am compiling a softwares code in jetson nano kit …in which i need a package for compiling ,the name is wxWidgets-3.0.4 which i cant find for arm64 processor in google ,
so can anybody help me to install the wxWidgets package for arm64 processor in jetson it would be so helpful.

Which specific library is missing? We know wxWidgets version 3.0.4, but the exact library file not present would help in knowing which package it belongs to. Keep in mind that often one links against a symbolic link and not directly to the final file (it is a way to abstract minor patch releases).

If you are on a system which does have that library, then here are some tools to find out which Ubuntu package is involved. For the sake of illustration, let’s say the file is “libwxdemo.so”. On a system where compile works because the file is present, then this will provide any location the linker sees the library at:
ldconfig -p | grep -i 'libwxdemo'

Typically it would show something like:


If you were to use “ls -l” on each of those, then only the more detailed file would be the one provided by the package, while the symbolic links would point to the next more detailed version. A contrived illustration based on the above might show:

# ls -l /usr/lib/libwxdemo.so
lrwxrwxrwx 1 root root 20 Nov 25 13:15 libwxdemo.so -> libwxdemo.so.3

# ls -l /usr/lib/libwxdemo.so.3
lrwxrwxrwx 1 root root 20 Nov 25 13:15 libwxdemo.so,3 -> libwxdemo.so.3.1

# This final one does not point at another file and is the "hard link" and what package tools
# will understand:
# ls -l /usr/lib/libwxdemo.so.3.1
lrwxrwxrwx 1 root root 20 Nov 25 13:15 libwxdemo.so.3.1

In the above contrived example, on Ubuntu, if I were then to run this command, it would tell me what package owns that file:
dpkg -S /usr/lib/libwxdemo.so.3.1

If you know what package the missing lib is from on a host PC with Ubuntu, then it would be the same package name on a Jetson. One could then use standard “apt” package mechanisms to locate and install that library if it exists in a standard repository. Possibly you might need to add the repository to your search list, but starting with a standard package, if possible, would be your best bet.

If the file does not exist in a package, then you would have to find the source code and build it yourself. This assumes there is no architecture-dependent code in the source (if there is, then that code would require porting before you could build for arm64).

1 Like

I haven’t used wxWidgets on Jetson, but you may find the packages from apt:

sudo apt update
sudo apt search wxWidget

This returns various related packages, most of them using wxWidgets, some providing it or depedancies.
I’d first try (but didn’t myself):

sudo apt install libwxbase3.0-dev  libwxbase3.0-0v5

# For GTK3 backend
sudo apt install libwxgtk3.0-dev