Problem Compiling gpgme: link error stuff

Joseph Isadore Ziff jziff at
Fri Dec 31 22:37:46 CET 2010


I'm having trouble compiling gpgme. What follows is part of my cmd line:

./configure --prefix=/usr
config.status: executing depfiles commands
config.status: executing libtool commands

	GPGME v1.3.0 has been configured as follows:

	GnuPG path:      /usr/bin/gpg
        GnuPG version:   2.0.16, min. 1.4.0

	GpgSM path:      /usr/bin/gpgsm
        GpgSM version:   2.0.16, min. 1.9.6

	GpgConf path:    /usr/bin/gpgconf
        GpgConf version: 2.0.16, min. 2.0.4

	G13 path:        no
        G13 version:     unknown, min. 2.1.0

        Assuan version:  2.0.1

	UI Server:       no
        FD Passing:      

	GPGME Pthread:   yes
	GPGME Pth:       yes

/bin/bash ../../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes   -o t-thread1 t-thread1.o ../../src/ 
libtool: link: gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-thread1 t-thread1.o  ../../src/.libs/
/usr/bin/ld: t-thread1.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO /lib64/ so try adding it to the linker command line
/lib64/ could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [t-thread1] Error 1
make[3]: Leaving directory `/home/sindegra/Source/gnupg2/gpgme-1.3.0/tests/gpg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sindegra/Source/gnupg2/gpgme-1.3.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sindegra/Source/gnupg2/gpgme-1.3.0'
make: *** [all] Error 2

I do not know how to add the libary to the linker command line. I confess I am not so knowledgeable about these kind of things. Any advice?


Joseph Isadore Ziff

<jziff[at]>, <jziff[at]>, <jziff[at]>

This email was signed for authenticity with GnuPG version 2.0.16. See for information on state-of-the-art secure signing and encryption software compatible with the openPGP standard. Reclaim your right to privacy now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: </pipermail/attachments/20101231/decc3053/attachment.pgp>

More information about the Gnupg-users mailing list