Answer the question
In order to leave comments, you need to log in
Is it possible to use libraries compiled for Android in ARM Linux (armbian)?
Greetings.
There is such a problem: there are SDK libraries from the manufacturer of video surveillance equipment assembled under Windows Linux x86 and 64, and found under Android.
When building a test application under ARM Linux, I got an error:
LC_ALL=c g++ test.cpp -L. -lxmnetsdk -Wl,-rpath,. -o testsdk
/usr/bin/ld: warning: liblog.so, needed by ./libxmnetsdk.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libstdc++.so, needed by ./libxmnetsdk.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: testsdk: hidden symbol 'fstat' in /usr/lib/arm-linux-gnueabihf/libc_nonshared.a(fstat.oS) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Answer the question
In order to leave comments, you need to log in
I will answer myself (suddenly it will come in handy for someone):
Problem solution: Build the libhybris libraries with a wrapper for libxmnetsdk and Android system files - and everything is assembled and works great.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question