Ethereal-users: [Ethereal-users] ethereal 0.10.12 + openssl 0.9.7e + zlib 1.2.3

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Tue, 2 Aug 2005 10:50:06 +0530
Hi All,
 
I am building ethereal 0.10.12 with openssl 0.9.7e,zlib 1.2.3 on HP-UX.
Openssl is built with zlib 1.1.4.
I am getting duplicate symbol errors while building ethereal.
 
#./configure --prefix=/usr/local/ethereal --with-ssl=/usr/local \
      --with-zlib --with-pcap=/usr/local/libpcap \
     --with-pcre --with-adns --enable-shared --enable-ethereal --with-libiconv --without-net-snmp \
     --without-ucd-snmp --enable-ipv6 --enable-randpkt --enable-dftest --enable-threads \
     --with-plugins --with-glib-prefix=/usr/local/glib --disable-gtk2

#gmake
/usr/ccs/bin/ld: Duplicate symbol "adler32" in files /usr/local/lib/libcrypto.a(adler32.o) and /usr/local/lib/libz.a(adler32.o)
/usr/ccs/bin/ld: Duplicate symbol "compress2" in files /usr/local/lib/libcrypto.a(compress.o) and /usr/local/lib/libz.a(compress.o)
/usr/ccs/bin/ld: Duplicate symbol "compress" in files /usr/local/lib/libcrypto.a(compress.o) and /usr/local/lib/libz.a(compress.o)
/usr/ccs/bin/ld: Duplicate symbol "get_crc_table" in files /usr/local/lib/libcrypto.a(crc32.o) and /usr/local/lib/libz.a(crc32.o)
/usr/ccs/bin/ld: Duplicate symbol "crc32" in files /usr/local/lib/libcrypto.a(crc32.o) and /usr/local/lib/libz.a(crc32.o)
/usr/ccs/bin/ld: Duplicate symbol "gzopen" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzdopen" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzsetparams" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzread" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzgetc" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzgets" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzwrite" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzprintf" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzputc" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzputs" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzflush" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzseek" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzrewind" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gztell" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzeof" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzclose" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "gzerror" in files /usr/local/lib/libcrypto.a(gzio.o) and /usr/local/lib/libz.a(gzio.o)
/usr/ccs/bin/ld: Duplicate symbol "deflate_copyright" in files /usr/local/lib/libcrypto.a(deflate.o) and /usr/local/lib/libz.a(deflate.o)
/usr/ccs/bin/ld: Duplicate symbol "deflateInit_" in files /usr/local/lib/libcrypto.a(deflate.o) and /usr/local/lib/libz.a(deflate.o)
/usr/ccs/bin/ld: Duplicate symbol "deflateInit2_" in files /usr/local/lib/libcrypto.a(deflate.o) and /usr/local/lib/libz.a(deflate.o)
/usr/ccs/bin/ld: Duplicate symbol "deflateEnd" in files /usr/local/lib/libcrypto.a(deflate.o) and /usr/local/lib/libz.a(deflate.o)
/usr/ccs/bin/ld: Duplicate symbol "deflateReset" in files /usr/local/lib/libcrypto.a(deflate.o) and /usr/local/lib/libz.a(deflate.o)
/usr/ccs/bin/ld: Duplicate symbol "deflateSetDictionary" in files /usr/local/lib/libcrypto.a(deflate.o) and /usr/local/lib/libz.a(deflate.o)
/usr/ccs/bin/ld: Duplicate symbol "deflateParams" in files /usr/local/lib/libcrypto.a(deflate.o) and /usr/local/lib/libz.a(deflate.o)
/usr/ccs/bin/ld: Duplicate symbol "deflate" in files /usr/local/lib/libcrypto.a(deflate.o) and /usr/local/lib/libz.a(deflate.o)
/usr/ccs/bin/ld: Duplicate symbol "deflateCopy" in files /usr/local/lib/libcrypto.a(deflate.o) and /usr/local/lib/libz.a(deflate.o)
/usr/ccs/bin/ld: Duplicate symbol "z_errmsg" in files /usr/local/lib/libcrypto.a(zutil.o) and /usr/local/lib/libz.a(zutil.o)
/usr/ccs/bin/ld: Duplicate symbol "zlibVersion" in files /usr/local/lib/libcrypto.a(zutil.o) and /usr/local/lib/libz.a(zutil.o)
/usr/ccs/bin/ld: Duplicate symbol "zError" in files /usr/local/lib/libcrypto.a(zutil.o) and /usr/local/lib/libz.a(zutil.o)
/usr/ccs/bin/ld: Duplicate symbol "zcalloc" in files /usr/local/lib/libcrypto.a(zutil.o) and /usr/local/lib/libz.a(zutil.o)
/usr/ccs/bin/ld: Duplicate symbol "zcfree" in files /usr/local/lib/libcrypto.a(zutil.o) and /usr/local/lib/libz.a(zutil.o)
/usr/ccs/bin/ld: Duplicate symbol "inflateReset" in files /usr/local/lib/libcrypto.a(inflate.o) and /usr/local/lib/libz.a(inflate.o)
/usr/ccs/bin/ld: Duplicate symbol "inflateInit2_" in files /usr/local/lib/libcrypto.a(inflate.o) and /usr/local/lib/libz.a(inflate.o)
/usr/ccs/bin/ld: Duplicate symbol "inflateInit_" in files /usr/local/lib/libcrypto.a(inflate.o) and /usr/local/lib/libz.a(inflate.o)
/usr/ccs/bin/ld: Duplicate symbol "inflate" in files /usr/local/lib/libcrypto.a(inflate.o) and /usr/local/lib/libz.a(inflate.o)
/usr/ccs/bin/ld: Duplicate symbol "inflateEnd" in files /usr/local/lib/libcrypto.a(inflate.o) and /usr/local/lib/libz.a(inflate.o)
/usr/ccs/bin/ld: Duplicate symbol "inflateSetDictionary" in files /usr/local/lib/libcrypto.a(inflate.o) and /usr/local/lib/libz.a(inflate.o)
/usr/ccs/bin/ld: Duplicate symbol "inflateSync" in files /usr/local/lib/libcrypto.a(inflate.o) and /usr/local/lib/libz.a(inflate.o)
/usr/ccs/bin/ld: Duplicate symbol "inflateSyncPoint" in files /usr/local/lib/libcrypto.a(inflate.o) and /usr/local/lib/libz.a(inflate.o)
/usr/ccs/bin/ld: Duplicate symbol "inflate_copyright" in files /usr/local/lib/libcrypto.a(inftrees.o) and /usr/local/lib/libz.a(inftrees.o)
/usr/ccs/bin/ld: Found 45 duplicate symbol(s)
collect2: ld returned 1 exit status
 
Cam anyone tell me how to overcome this duplicate symbol error?

Thanks,
Vijayalakshmi, K.