gpg-error problem with gcrypt sol. 9

Riccardo Mottola rmottola at opencsw.org
Mon Feb 2 00:22:42 CET 2015


Hi,

while doing a fresh build for gnustep-base, now that all overrides are 
commited, I get a failure on Solaris 9 (buildfarm, unstable9s)

I think I didn't get it before, it looks as libgcrypt is not linked 
against gpg error?

configure:11497: checking for gcry_control in -lgcrypt
configure:11522: /opt/csw/bin/gcc-4.6 -o conftest -g -O2 
-I/opt/csw/GNUstep/Local/Library/Head
ers -I/opt/csw/GNUstep/Local/Library/Headers 
-I/opt/csw/GNUstep/System/Library/Headers -I/opt/c
sw/include   -I/opt/csw/include/libxml2 
-L/opt/csw/GNUstep/Local/Library/Libraries -L/opt/csw/
GNUstep/Local/Library/Libraries 
-L/opt/csw/GNUstep/System/Library/Libraries conftest.c -lgcrypt
   -lxslt -L/opt/csw/lib -R/opt/csw/lib -lxml2 -lz -lpthread -liconv -lm 
-lsocket -lnsl -liconv
-L/opt/csw/lib/ffi -lffi   -lnsl -lrt -ldl  -lpthread -lz >&5
ld: warning: file libgpg-error.so.0: required by 
/opt/csw/lib/libgcrypt.so, not found
Undefined                       first referenced
  symbol                             in file
gpg_err_code_from_errno             /opt/csw/lib/libgcrypt.so
gpg_err_set_errno                   /opt/csw/lib/libgcrypt.so
gpg_strsource                       /opt/csw/lib/libgcrypt.so
gpg_strerror                        /opt/csw/lib/libgcrypt.so
gpg_err_code_from_syserror          /opt/csw/lib/libgcrypt.so
ld: fatal: Symbol referencing errors. No output written to conftest


ldd tells me:
rmottola at unstable9s :~ > ldd /opt/csw/lib/libgcrypt.so
         /usr/lib/secure/s9_preload.so.1
         libgpg-error.so.0 =>     (file not found)
         libsocket.so.1 =>        /usr/lib/libsocket.so.1
         libc.so.1 =>     /usr/lib/libc.so.1
         libnsl.so.1 =>   /usr/lib/libnsl.so.1
         libdl.so.1 =>    /usr/lib/libdl.so.1
         libmp.so.2 =>    /usr/lib/libmp.so.2
         /usr/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1

on solaris 10s it is resolved.

I see that on unstable10s there are:
rmottola at unstable10s [unstable10s]:~/opencsw/gnustep-base/trunk > 
pkginfo | grep gpg-err
application CSWgpg-error                     gpg_error - Tools for 
libgpg-error.so
application CSWgpgerr                        libgpg_error_stub - 
Transitional package. Content moved to CSWgpg-error
application CSWlibgpg-error-dev              libgpg_error_dev - 
Development files for libgpg-error.so.0
application CSWlibgpg-error0                 libgpg_error0 - GNU gpg 
related library, libgpg-error.so.0


two versions? is this itentional or a transitionary phase? I suppose 
unstable9s just misses the libgpg-error0 package installed, but it looks 
messy.
If it is intentional, can you install the packae? thank you.

RIccado


More information about the maintainers mailing list