Hello, i've done the DESTDIR=/tmp/blah make install and copied all the files to the android root folder. now my android has a /usr directory with:
ls -lR /usr/ /usr/: drwxrwxr-x root root 2013-02-07 00:38 local /usr//local: drwxrwxr-x root root 2013-02-07 00:38 include drwxrwxr-x root root 2013-02-07 00:38 lib /usr//local/include: drwxrwxr-x root root 2013-02-07 00:38 libfprint /usr//local/include/libfprint: -rw-rw-rw- root root 13350 2013-01-16 02:40 fprint.h /usr//local/lib: -rw-rw-rw- root root 1350652 2013-01-16 02:40 libfprint.a -rwxrwxrwx root root 1198 2013-01-16 02:40 libfprint.la lrwxrwxrwx root root 2013-02-07 00:38 libfprint.so -> libfprint.so.0.0.0 lrwxrwxrwx root root 2013-02-07 00:38 libfprint.so.0 -> libfprint.so.0.0.0 -rwxrwxrwx root root 916520 2013-01-16 02:40 libfprint.so.0.0.0 drwxrwxr-x root root 2013-02-07 00:38 pkgconfig /usr//local/lib/pkgconfig: -rw-rw-rw- root root 246 2013-01-16 02:40 libfprint.pc and a /lib directory I've added the /usr/local/lib directory to my LD_LIBRARY_PATH so i have /usr/local/lib:/vendor/lib:/system/lib I copied the examples folder and tried to run the shell scripts but same problem happens. also, i've tried to run the binaries from examples/.libs directory but same problem happens too: root@android:/data/examples/.libs # ./verify_live /system/bin/sh: ./verify_live: No such file or directory if i run "file" over the verify_live binary i got verify_live: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, BuildID[sha1]=0x0cf9d9391e05971a01604fa68a2661bfc3df41b5, not stripped When i run the binaries on qemu it says: fp:debug [fp_init] Failed to initialize libfprint I think it is because some problem with my libusb on qemu. Any ideas? Kind regards, Daniel On Tue, Jan 15, 2013 at 12:06 PM, Bastien Nocera <had...@hadess.net> wrote: > On Tue, 2013-01-15 at 11:57 -0200, Daniel Neis Araujo wrote: > > Ok, > > > > > > here is what i did (i am using x86_64 as host): > > > > > > * used qemu to boot an ubuntu for arm > > (https://wiki.ubuntu.com/ARM/RootfsFromScratch) > > > > * build libfprint as on x64_86 > > > > * build the examples > > > > * started some of them ok > > > > * copied the examples and the library to my rowboat android jellybean > > 4.1.2 (i can run a prebuilt busybox-armel6 on it) > > > > * tried to run the examples but received "sh: verify: File not found" > > I'm guessing you copied them by hand? Then you just copied the libtool > stubs :) > > Do: > DESTDIR=/tmp/blah make install > and copy the files from there. Or fish out the library and binaries from > the .libs/ directories. > > > * tried add libfprint directory to LD_LIBRARY_PATH but same problem > > > > maybe i should copy all libfprint dependencies to android too? > > You copied libool stubs (shell scripts that are used so that uninstalled > binaries are launched against the uninstalled library). > > Cheers > > -- Daniel Neis Araujo
_______________________________________________ fprint mailing list fprint@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/fprint