gnupg make failure

Posted by zhoucengchao on Ask Ubuntu See other posts from Ask Ubuntu or by zhoucengchao
Published on 2012-10-18T01:59:19Z Indexed on 2012/10/18 17:25 UTC
Read the original article Hit count: 422

Filed under:

I got errors as below when tried to make gnupg 2.0.19

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compress.o: In function `init_uncompress':
/home/steve/Desktop/gnupg-2.0.19/g10/compress.c:147: undefined reference to `inflateInit_'

compress.o: In function `do_uncompress':
/home/steve/Desktop/gnupg-2.0.19/g10/compress.c:196: undefined reference to `inflate'

compress.o: In function `init_compress':
/home/steve/Desktop/gnupg-2.0.19/g10/compress.c:82: undefined reference to `deflateInit_'

compress.o: In function `init_uncompress':
/home/steve/Desktop/gnupg-2.0.19/g10/compress.c:147: undefined reference to `inflateInit2_'

compress.o: In function `init_compress':
/home/steve/Desktop/gnupg-2.0.19/g10/compress.c:82: undefined reference to `deflateInit2_'

compress.o: In function `compress_filter':

/home/steve/Desktop/gnupg-2.0.19/g10/compress.c:264: undefined reference to `inflateEnd'
/home/steve/Desktop/gnupg-2.0.19/g10/compress.c:273: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
make[2]: *** [gpg2] Error 1 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It looks like ld cannot find object file which owns the reference above. My question is: How to determine which file I was missing? How to resolve this issue?

Many thanks in advance!

© Ask Ubuntu or respective owner

Related posts about gnupg

  • GnuPG PHP gnupg Folder & Files Permission

    as seen on Super User - Search for 'Super User'
    Situation: we plan on using PHP's GnuPG extension to encrypt/decrypt files. Currently we've setup some test cases, using keys generated with GPG. The generated files reside in: /Users/username/.gnupg/ I am able to get keyinfo for the key I want to use to encrypt/decrypt, but when I attempt to… >>> More

  • gnupg make failure

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I got errors as below when tried to make gnupg 2.0.19 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compress.o: In function `init_uncompress': /home/steve/Desktop/gnupg-2.0.19/g10/compress.c:147: undefined reference to `inflateInit_' compress.o: In function `do_uncompress': /home/steve/Desktop/gnupg-2… >>> More

  • GnuPG + Webservice + ASP.NET

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Hi! I'm exhausted. I have installed GnuPG and exported secret key, and two public keys (my own and one of my client) from another instance of GnuPG. I try to configure 'my encrypting/decrypting' method on the local machine. When I run encrypting method from a little console application it works… >>> More

  • PHP/GnuPG Decryption -- Syntax error?

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm using php to invoke gpg, but I'm getting a pipe error. I thought that if I read in the password from a file, I could then pipe it to the command itself? But, I keep getting: Syntax error: "|" unexpected Here's the code: (Note: The files are being iterated over in a foreach loop...) foreach($files… >>> More

  • GnuPG Command Line - Verifying KeePass Signature

    as seen on Super User - Search for 'Super User'
    I'm trying to verify the PGP Signature of the latest version of KeePass 2.14's setup file against this signature, but this is the output I receive: C:\Program Files (x86)\GNU\GnuPG>gpg.exe --verify C:\Users\User\Desktop\KeePass-2.14-Setup.exe gpg: no valid OpenPGP data found. gpg: the signature… >>> More