gpgme android build fails looking for /usr/local/lib/libgpg-error.la

Hans-Christoph Steiner hans at guardianproject.info
Thu Mar 1 02:29:44 CET 2012


So gpgme is building fine on Android using the attached patch, it just doesn't finish linking to libgpg-error because the build system is convinced that its in /usr/local/lib, where it is definitely not.  I tried to trace it a bit, but no luck yet.  Any ideas where this is being set?

To see how I'm building gpgme, check out the gpgme-build target in this Makefile, that will show the ./configure flags, etc.
https://github.com/guardianproject/gnupg-for-android/blob/master/external/Makefile

Here's the error in question:

libtool: link: /usr/local/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ar cru .libs/libgpgme.a  conversion.o get-env.o data.o data-fd.o data-stream.o data-mem.o data-user.o data-compat.o signers.o sig-notation.o wait.o wait-global.o wait-private.o wait-user.o op-support.o encrypt.o encrypt-sign.o decrypt.o decrypt-verify.o verify.o sign.o passphrase.o progress.o key.o keylist.o trust-item.o trustlist.o import.o export.o genkey.o delete.o edit.o getauditlog.o opassuan.o passwd.o engine.o engine-gpg.o status-table.o engine-gpgsm.o assuan-support.o engine-assuan.o engine-gpgconf.o engine-g13.o vfs-mount.o vfs-create.o gpgconf.o posix-util.o posix-sema.o posix-io.o dirinfo.o debug.o gpgme.o version.o error.o ath.o stpcpy.o
libtool: link: /usr/local/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ranlib .libs/libgpgme.a
/bin/sed: can't read /usr/local/lib/libgpg-error.la: No such file or directory
libtool: link: `/usr/local/lib/libgpg-error.la' is not a valid libtool archive

.hc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20120229/a43a6e36/attachment-0001.htm>


More information about the Gnupg-devel mailing list