Unsolved Why can't the libraries from qt-everywhere-src-5.13.0 be found on my BeagleBoard?
-
Hello,
I built qt-everywhere-src-5.13.0 with arm-linux-gnueabi and uploaded the libraries to my board. The executable can search the right path (/opt/qt-arm/lib) where the libraries are:
But it just can't find the sonames and an error message shows, even they are right there obviously:
When I run ldd, it shows "not a dynamic executive".
When I run file, it shows it's dynamically linked.
Any suggestions? I just don't know what happened.
-
-
Thanks for your reply.
debian@beaglebone:/opt/qt-arm/lib$ file libQt5Widgets.so.5.13.0
libQt5Widgets.so.5.13.0: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=b94b037260dda91a1e719e919c4b2b3da01d3959, stripped -
@billliu Did you build the executable on your host machine or target device?
Did you check the access rights for the libs? -
@jsulm I built the executable in QtCreater on my host machine. I set a kit for my target device. If no Qt library is used, it can work on my target device.
I am trying to check information such as the followings .
-rw-r--r-- 1 root root 767 Jul 30 2019 libQt5Widgets.la
-rw-r--r-- 1 root root 1149 Jul 30 2019 libQt5Widgets.prl
lrwxrwxrwx 1 root root 23 Jul 30 2019 libQt5Widgets.so -> libQt5Widgets.so.5.13.0
lrwxrwxrwx 1 root root 23 Jul 30 2019 libQt5Widgets.so.5 -> libQt5Widgets.so.5.13.0
lrwxrwxrwx 1 root root 23 Jul 30 2019 libQt5Widgets.so.5.13 -> libQt5Widgets.so.5.13.0
-rwxr-xr-x 1 root root 5550140 Jul 30 2019 libQt5Widgets.so.5.13.0I have not found something strange yet, but I don't know much about this.