I encountered the following error when I tried to run ts_calibrate from the TSLIB package for calibrating the touch screen:
/system/lib/ts/pthres.so dlopen() failed: libdl.so.2: cannot open shared object file: No such file or directory The file libdl.so.2 is not present anywhere in my root FS. Am I missing out something here? Also, ts_calibrate was not working at all if I build TSLIB with dynamic linking. Hence I built TSLIB with static linking. (generated inflated binaries) Does this cause any problem ? Any help in this regard will be much appreciated. I'am really stuck at making the touch screen work. Please find below the commands I used to build TSLIB. > ./autogen.sh > ./configure --host=arm-none-linux-gnueabi LDFLAGS="--static -I/usr/local/android/tools/arm-2007q1/lib" --enable-all-static -- disable-shared --prefix=/usr/local/android/andfs1-bkup/system > make > make install Is there any problem in the configure command? Also, how do I build the plugins of tslib? I tried changing the ./configure command as below: > ./configure --host=arm-none-linux-gnueabi LDFLAGS="--static > -L/usr/local/android/andfs1-bkup/system/lib" --enable-debug > --disable-shared --prefix=/usr/local/android/andfs1-bkup/system/ > --enable-static During make, I get the following warning: "warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking" Android does not use glibc instead it uses bionic. Could this be a problem why I'am not able to statically build tslib? --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
