compile

Matthew Cordes mcorde61@maine.edu
Sat, 21 Aug 1999 01:34:53 +0000


What does you /etc/ld.so.conf look like?  It should just be a list of
your lib directories (e.g., /lib, /usr/lib, etc) each on a different
line.  Perhaps the '-lz' (below) is just some garbage in this file.  
Why 0.9.8, 0.9.10 (or maybe greater) is out, perhaps give that a
try?

-matt


On Fri, Aug 20, 1999 at 11:34:27PM +0530, Raj wrote:

> hello
>
> i have gnupg-0.9.8. i am using a redhat linux 5.2 system with not much
> modifications. when i compile i get the following error
> ( i did a simple ./configure and make)
>
> make[2]: Entering directory `/root/gpgp/gnupg-0.9.8/tools'
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -g -O2 -Wall
> -Wcast-align -Wshadow -Wstrict-prototypes -c mpicalc.c
> gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o mpicalc
> mpicalc.o ../cipher/libcipher.a ../util/libutil.a
> ../mpi/libmpi.a ../util/libutil.a ../intl/libintl.a -lz -ldl -lnsl -lnsl
> ld: cannot open -lz: No such file or directory
> make[2]: *** [mpicalc] Error 1
> make[2]: Leaving directory `/root/gpgp/gnupg-0.9.8/tools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/gpgp/gnupg-0.9.8'
> make: *** [all-recursive-am] Error 2
>
> i also tried the configure with out the asm and nls options but no
> success.
>
> is there any additional info required.
>
> raj
>