Enable to run QT application in beagleboard (Angstrom)
-
hello everyone.
I want to run QT application in beagleboard - xm (target board).
in beagle board, i had boot Angstrom OS.so, what i did.
i had install arm cross complier and qt library files for beagleboard in host PC(ubuntu 11.04).
Using QT creater i had made one qt application(that i want to run in beagleboard).
in target board (beagle board), i set enivorment for qt (copy qt library files which i found from /opt/qt-arm/lib (from host PC). and also set PATH variable of /etc/profile as /opt/qt-arm/lib).
and also copy project's executable file to beagleboard
when i run that executable file using below command,
#./app -qws
i got error like:
./app: error while loading shared libraries: /opt/qt-arm/lib/libQtGuiE.so.4: file too short.
help me. how to fix this error.
-
Solution 1
Problems during the copy process. Please verify the lib size again with the original used one on your host PC.
Solution 2
/opt/qt-arm/lib/libQtGuiE.so.4 is a soft link which points to the wrong library
verify it with "ls -asl /opt/qt-arm/lib/libQtGuiE.so.4"Solution 3
ldconfig found another version of libQtGuiE
Check LD_LIBRARY_PATH and /etc/ld.so.conf