changing SONAME for libs on Android

Hans-Christoph Steiner hans at guardianproject.info
Mon Dec 9 22:23:32 CET 2013



On 12/09/2013 02:07 PM, Werner Koch wrote:
> On Thu,  5 Dec 2013 21:43, hans at guardianproject.info said:
> 
>> http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=8eeeb00daef8c4f720c9b79a0cdb89225d9909b6
> 
> Applied to libgcrypt and libgpg-error maste.

Thanks.  Unfortunately, there is more to do here.  I have it all working on my
machine with the latest in master for gpgme, gnupg, libgpg-error and libgcrypt.

* gpgme and libkbsa need this same patch, and then work
* libassuan and npth need the patch, but then also need this to work:
   ./autogen.sh && autoreconf --install --force --verbose
* libgpg-error needs the patch, the autoreconf, and then also forcing
  the change to libgpg-error/libtool via sed:
sed 's,^fast_install=.*,fast_install=needless,'
sed 's,^version_type=.*,version_type=none,'
sed 's,^shlibpath_overrides_runpath=.*,shlibpath_overrides_runpath=yes,'
sed
's,^library_names_spec=.*,library_names_spec="\\$$libname\\$$release\\$$shared_ext",'
sed 's,^soname_spec=.*,soname_spec="\\$$libname\\$$release\\$$shared_ext",'
sed 's,^finish_cmds=.*,finish_cmds="",'
sed 's,^sys_lib_dlsearch_path_spec=.*,sys_lib_dlsearch_path_spec="/lib /usr/lib",'


I don't know how best to handle those extra situations beyond including the
patch, it seems that the autotools in those projects has been customized, so
they can't be easily updated with 'autoreconf'

Shall I file a bug report?

.hc

>> It seems to me that gnupg will also need this patch, I'm not sure how that
> 
> GnuPG is not a library and thus does not use libtool.
> 
> 
> Shalom-Salam,
> 
>    Werner
> 

-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81



More information about the Gnupg-devel mailing list