Viji wrote:
> 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)
-- snip lots nore dup symbols --
Rebuild openssl with zlib 1.2.3
You are getting one copy of the symbol from openssl (1.1.4) and the
other from libz (1.2.3)
It might have worked if libz had been a shared library.
--
There's no point in being grown up if you can't be childish sometimes.
-- Dr. Who