Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] linux package requirements for wireshark build

From: Alan Partis <alpartis@xxxxxxxxxxxxxx>
Date: Sun, 25 Jun 2017 20:29:26 -0400 (EDT)
On Sun, 25 Jun 2017, Guy Harris wrote:

> On Jun 25, 2017, at 6:28 AM, Alan Partis <alpartis@xxxxxxxxxxxxxx> wrote:
>
> > Yes, this _particular_ problem is because I had both i686 and x86_64
> > versions of the zlib package installed ... _and_  was missing zlib-devel.
>
> If you didn't have *any* zlib-devl packages installed, it should've
> decided zlib wasn't available, as there shouldn't have been any zlib
> header files.
>
> Do you still have the config.log file from that failure?  If so, could
> you please send it, so we can try to figure out why the configure script
> thought it had zlib and should try linking with it (and why it looked at
> the 32-bit versions, rejected them, and didn't find the 64-bit
> versions)?

No, I've rerun the ./configure script, but I can probably recreate the
problem easily enough.  Where should I post the resulting config.log?

In the mean time, for reference:

$ g++ --version
g++ (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


$ gcc -lz
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../libz.so when searching for
-lz
/usr/bin/ld: skipping incompatible /lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status


$ dnf list zlib*
Last metadata expiration check: 10:52:36 ago on Sat Jun 24 22:28:29 2017.
Installed Packages
zlib.i686                    1.2.8-10.fc24                @fedora
zlib.x86_64                  1.2.8-10.fc24                @koji-override-0
zlib-devel.i686              1.2.8-10.fc24                @fedora
Available Packages
zlib-ada.i686                1.4-0.12.20120830CVS.fc24    fedora
zlib-ada.x86_64              1.4-0.12.20120830CVS.fc24    fedora
zlib-ada-devel.i686          1.4-0.12.20120830CVS.fc24    fedora
zlib-ada-devel.x86_64        1.4-0.12.20120830CVS.fc24    fedora
zlib-devel.x86_64            1.2.8-10.fc24                fedora
zlib-static.i686             1.2.8-10.fc24                fedora
zlib-static.x86_64           1.2.8-10.fc24                fedora
zlibrary.i686                0.12.10-18.fc23              fedora
zlibrary.x86_64              0.12.10-18.fc23              fedora
zlibrary-devel.i686          0.12.10-18.fc23              fedora
zlibrary-devel.x86_64        0.12.10-18.fc23              fedora
zlibrary-ui-gtk.x86_64       0.12.10-18.fc23              fedora
zlibrary-ui-qt.x86_64        0.12.10-18.fc23              fedora




_______________________________________________________
Alan Partis
thundernet development group