For embedded systems, that have limited resources, installing a package manager could be not convenient.
Do you have the toolchain that was used to cross compile Linux for your machine?
If this is the case, I would recommend you to build Mosquitto inside it, so that you find it integrated in your system, hopefully without compatibility problems.