Different set of errors with "make LDFLAGS=lz":

Making all in kbx
make[2]: Entering directory `/home/gpg20/gnupg-2.0.1/kbx'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/gpg20/gnupg-2.0.1/kbx'
Making all in g10
make[2]: Entering directory `/home/gpg20/gnupg-2.0.1/g10'
gcc -I/usr/local/include  -I/usr/local/include -I/usr/local/include
-I/usr/local/include -g -O2 -Wall  lz -o gpg2  gpg.o build-packet.o
compress.o compress-bz2.o free-packet.o getkey.o keydb.o keyring.o
seskey.o kbnode.o mainproc.o armor.o mdfilter.o textfilter.o progress.o
misc.o openfile.o keyid.o parse-packet.o status.o plaintext.o
sig-check.o keylist.o pkglue.o pkclist.o skclist.o pubkey-enc.o
passphrase.o seckey-cert.o encr-data.o cipher.o encode.o sign.o verify.o
revoke.o decrypt.o keyedit.o dearmor.o import.o export.o trustdb.o
tdbdump.o tdbio.o delkey.o keygen.o helptext.o keyserver.o photoid.o
call-agent.o card-util.o exec.o -L/usr/local/lib -lgcrypt
-L/usr/local/lib -lgpg-error ../common/libcommon.a ../jnlib/libjnlib.a
../gl/libgnu.a  ../common/libgpgrl.a -lbz2 -lresolv
-L/usr/local/lib -lassuan -L/usr/local/lib -lgpg-error -ldl
gcc: lz: No such file or directory
make[2]: *** [gpg2] Error 1
make[2]: Leaving directory `/home/gpg20/gnupg-2.0.1/g10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gpg20/gnupg-2.0.1'
make: *** [all] Error 2

I took a guess and installed lzo (1.08) and lzo-devel (1.08), it didn't
make a difference.

I do find lz:

linux28:/home/tomd # find / -name lz
/usr/bin/lz
linux28:/home/tomd #

There is one thing that might be messing things up....
Any package from yast or library I downloaded, is installed from
"root".
However, gnupg and it's associated installation, is being done from my
userid "tomd" (with no special permission).

Perhaps, this is a product that needs to be installed from someone with
"root" authority.  The documentation doesn't say either way.

Tom Duerbusch
THD Consulting

>>> [EMAIL PROTECTED] 1/5/2007 4:17 PM >>>
On 1/5/07, Tom Duerbusch <[EMAIL PROTECTED]> wrote:
> compress.o(.text+0x238): In function `compress_filter':
> /home/gpg20/gnupg-2.0.1/g10/compress.c:222: undefined reference to
> `inflateInit2_'
> compress.o(.text+0x23c):/home/gpg20/gnupg-2.0.1/g10/compress.c:222:
> undefined reference to `inflateInit_'

These are zlib symbols, try linking with -lz if the gnupg source
doesn't have some bundled implementation it's supposed to pick up.
(make LDFLAGS=-lz)

--
Eric Covener
[EMAIL PROTECTED]

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to