Hello:
finally I got a non perfect solution,
I unzip SD image files to my host machine to have all *.so collected.
and I download source of my interest packages, such as opencv, etc, put the header files in corresponding folder
therefore I somehow can cross-compile and the output is runnable at i.MX8 QXPMEK