LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   after rebuild of tslib Qt failed with error ts_config() 'no such file or dir' (https://www.linuxquestions.org/questions/linux-newbie-8/after-rebuild-of-tslib-qt-failed-with-error-ts_config-no-such-file-or-dir-4175533076/)

allagar 02-04-2015 02:51 PM

after rebuild of tslib Qt failed with error ts_config() 'no such file or dir'
 
I downloaded tslib-1.1.tar.gz and configured to cross compiled for my ARM target machine.

Was able to build and make install on my Ubuntu host machine successfully. On my taget machine I copied created a backup of my original libts-1.0.so.0.0.0 and SFTP'd from my host the version I built to my target machine and over wrote current libts-1.0.so.0.0.0 to keep the links.
reboot my taget and now get

QWSTslibMouseHandlerPrivate: ts_config() failed with error: 'No such file or directory'
Please check your tslib installation!

running ldd on the taget against the backup (.bu version) and new versions shows the same dependancies.

root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)
root@at91sam9m10g45ek:~# ./ldd /usr/lib/libts-1.0.so.0.0.0.bu
libdl.so.2 => /lib/libdl.so.2 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.3 (0x2a000000)

Using nm verified ts_config() existed in the new version.

Any suggestions why I am getting the error?

smallpond 02-05-2015 09:21 AM

It's not printing the name of the config file that it can't find?

allagar 02-05-2015 12:56 PM

What I have found is that if I "export set TSLIB_PLUGINDIR=/usr/lib/ts" then my build of libts-1.0.so.0.0.0 does work. Question is how does one set ./configure options to provide this when building libts-1.0.so.0.0? The original version that was installed did not need the environment variable so I assume it must have been configured as part of the build.


All times are GMT -5. The time now is 09:33 AM.