Guys, I compiled Qt 4.7.1 and 4.6.3. when I want run demos I got this error: ./books: error while loading shared libraries: libts-0.0.so.0: cannot open shared object file: No such file or directory I use this document to compile Qt: http://www.sereno-labs.com/qt-4-6-2-installation-procedure-for-friendlya... I also tried to compile tslib : $ mkdir tslib ; cd tslib $ git clone http://github.com/kergoth/tslib.git $ ./autogen.sh $ ./configure --host=arm-angstrom-linux-gnueabi --prefix=/usr/local/tslib --enable-static --enable-shared $ make -j4 $ make install and then add this to qmake.conf: QMAKE_INCDIR += /usr/local/tslib/include QMAKE_LIBDIR += /usr/local/tslib/lib but not any chance. where is tslib lib dir in qtopia? can I use tslib lib dir in qtopia for TSLIB_PLUGINDIR?
tslib not found
sorry,I just copy paste from wrong page. I use this for configuring tslib ./configure --host=arm-none-linux-gnueabi --prefix=/usr/local/tslib --enable-static --enable-shared
on host or target? host : /usr/local/tslib target: /usr/local/lib I also use rootfs_qtopia_qt4.img from arm9.net but I can not run demos. [root@FriendlyARM pathstroke]# ./pathstroke -qws ./pathstroke: error while loading shared libraries: libts-0.0.so.0: cannot open shared object file: No such file or directory please check this: [root@FriendlyARM /]# find / -type f -name libts* /usr/local/lib/libts-0.0.so.0.1.1 [root@FriendlyARM /]# cd /usr/local/lib/ [root@FriendlyARM lib]# ls libts-0.0.so.0 libts.so libts-0.0.so.0.1.1 ts
I compiled Qt with switch -no-mouse-tslib and everything is ok except touchsceen. problem is just damn tslib:(
I ended up cheating and used tslib out of this http://billforums.station51.net/viewtopic.php?f=8&t=15&start=80 I couldn't get past this stage as well. Have you checked that libts-0.0.so.0 is a cross-compiled version? I dragged stuff off packages.debian.org and then ended up losing my way. Good luck
You mean this? http://packages.debian.org/lenny/xserver-xorg-input-tslib you installed it on host?
No. I found tslib in an attached file at the quoted URL. libts, it would have been this one: http://packages.debian.org/lenny/libts-0.0-0 and the armel version. Like I said, I was not successful, so you will have to find the answer elsewhere. Good luck
it seems export not working export TSLIB_PLUGINDIR=/usr/local/lib I use this to skip this step.if you use qtopia image you can use this way ln -s /usr/local/lib/libts-0.0.so.0 /usr/local/Qt/lib/libts-0.0.so.0
Hi, If you using qtopia rootfs image just use this file to run applications. if you using Qt4.7 or more you must run last qtopia image. Qt 4.7 need glibc 2.9 Good luck
Hello, I am developing on Mini2440 board, faced similar problems. I resolved for successful execution by creating a link to libts-0.0.so.0 ln -s /usr/local/lib/libts-0.0.so.0 /usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/libts-0.0.so.0 Environment variables on my mini2440 is as follows: export TSLIB_TSEVENTTYPE=INPUT export TSLIB_CONSOLEDEVICE=none export TSLIB_FBDEVICE=/dev/fb0 export TSLIB_TSDEVICE=/usr/local/lib/ts export TSLIB_CALIBFILE=/etc/pointercal export TSLIB_CONFFILE=/usr/local/etc/ts.conf export TSLIB_PLUGINDIR=/usr/local/lib/ts export LD_LIBRARY_PATH=/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib export QTDIR=/usr/local/Trolltech/QtEmbedded-4.6.3-arm export QWS_MOUSE_PROTO=tslib:/usr/local/lib/ts export QWS_DISPLAY=LinuxFB:mmWidth=310:mmHeight=190 But touch screen is not responding. Error Message is: selected device is not a touchscreen I understand Thanks and Regards
Hello, Touch screen now works. Just by changing two environment variables regarding the touch screen: export TSLIB_TSDEVICE=/dev/input/event0 export QWS_MOUSE_PROTO=tslib:/dev/input/event0 QT 4.6.3 based application works fine. Thanks and Regards
Hello....there... I faced a very strange error saying libc.so.6 :glibc 2.9 required while executing fluidlauncher program... I am running qtopia 2.2 on my 64 MB nand mini2440...with 2.6.32.2 linux image and superviv-64M..... Any help will be appreciated...!
It seems your target provides a different glibc revision than your cross compile environment uses to build the binaries. Syncronize them first.
And how to make sure that ? I used arm-linux-gcc-4.4.3 to compile qt libraries. Can you give me any clue how to solve this problem ?
There is no simple solution I could talk about if you do not have access to the knowledge how the root filesystem currently running on your target was built. Maybe it would be better to re-build the whole target's root filesystem with your existing cross-environment to get everything in sync (and reliable).
./application: /lib/libc.so.6: version `GLIBC_2.9' not found (required by /usr/local/Qt/lib/libQtCore.so.4)