This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [RFU] libgcrypt-1.4.1-1
- From: Brian Dessent <brian at dessent dot net>
- To: Gergely Budai <thuffir at gmx dot de>
- Cc: cygwin-apps at cygwin dot com
- Date: Tue, 10 Jun 2008 23:23:15 -0700
- Subject: Re: [RFU] libgcrypt-1.4.1-1
- References: <000701c8a977$206d8570$28bfae05@cyberdyne>
- Reply-to: cygwin-apps at cygwin dot com
Gergely Budai wrote:
> Package location:
> =================
> wget \
> http://home.arcor.de/thuffir/cygwin/libgcrypt/libgcrypt-1.4.1-1-src.tar.bz2 \
> http://home.arcor.de/thuffir/cygwin/libgcrypt/libgcrypt-1.4.1-1.tar.bz2
This package is broken -- the import lib and static lib have been
stripped which removes their symbol tables and renders them useless.
Testcase:
$ cat >foo.c <<EOF
#include <gcrypt.h>
int main() { return !gcry_check_version (NULL); }
EOF
$ gcc -o foo foo.c `libgcrypt-config --cflags --libs`
/tmp/ccTal48j.o:foo.c:(.text+0x32): undefined reference to `_gcry_check_version'
collect2: ld returned 1 exit status
$ nm /usr/lib/libgcrypt.dll.a
d000187.o:
nm: d000187.o: no symbols
d000000.o:
nm: d000000.o: no symbols
...
d000002.o:
nm: d000002.o: no symbols
d000001.o:
nm: d000001.o: no symbols
$ nm /usr/lib/libgcrypt.a
libgcrypt_la-visibility.o:
nm: libgcrypt_la-visibility.o: no symbols
libgcrypt_la-misc.o:
nm: libgcrypt_la-misc.o: no symbols
...
mpih-sub1-asm.o:
nm: mpih-sub1-asm.o: no symbols
mpiutil.o:
nm: mpiutil.o: no symbols
The [prev] version 1.4.0-1 is OK; the above commands work.
Brian