what's necessary to have Wireshark 3.6.2 rpm install find dependencies?

asked 2022-08-05 22:42:19 +0000

Trying to install a Wireshark 3.6.2 rpm on Centos 7. The sudo yum install of the rpm responds with many "requires" errors for libraries even though the libraries have been verified to exit. A sudo yum install of the dependencies responds with there is "Nothing to do".

What am I missing. What needs to be done to have the Wireshark install from rpm to find the existing dependencies?

edit retag flag offensive close merge delete

Comments

Where did the rpm come from?
Have you thought about building from source? (see tools/rpm-setup.sh for the centos build setup)

Chuckc gravatar imageChuckc ( 2022-08-06 02:52:43 +0000 )edit

Perhaps the dependencies do not have the correct versions?

Anders gravatar imageAnders ( 2022-08-06 07:37:32 +0000 )edit

Downloaded the 3.6.2 rpm from https://koji.fedoraproject.org/koji/p....

I tried building from source but ran into issues. cmake was an issue to start with,

It could be the a version issue. When an install of glib is attempted, it responds with everything is up to date and there's nothing to do.

jimijon gravatar imagejimijon ( 2022-08-08 19:02:31 +0000 )edit

The rpm needs a dist number appropriate for Centos 7.
Packaging:DistTag

If Centos 7 ~ RHEL 7 and Fedora 19, 20 → Red Hat Enterprise Linux 7 then it looks like way down in that package list for one that is compatible.

What were the issues with cmake?

Chuckc gravatar imageChuckc ( 2022-08-08 19:57:57 +0000 )edit

If it's centos7 I think the original cmake may be to old and you need cmake3

Anders gravatar imageAnders ( 2022-08-09 08:26:50 +0000 )edit

The latest... downloaded a couple more rpm file I've found. Running into the similar issues with both. Missing .so files. Looking for the .so files seems fruitless.

First thing I don't understand is why these .so files are not installed from the RPM.

This following are examples of messages when trying to install.

Error: Package: wireshark-gnome-1.10.14-25.el7.x86_64 (@base) Requires: libwireshark.so.3()(64bit) Removing: wireshark-1.10.14-25.el7.x86_64 (@base) libwireshark.so.3()(64bit) Updated By: 1:wireshark-3.4.0-1.el7.x86_64 (/wireshark-3.4.0-1.el7.x86_64) Not found Error: Package: 1:wireshark-3.4.0-1.el7.x86_64 (/wireshark-3.4.0-1.el7.x86_64) Requires: libwsutil.so.12()(64bit) Error: Package: wireshark-gnome-1.10.14-25.el7.x86_64 (@base) Requires: libwiretap.so.3()(64bit) Removing: wireshark-1.10.14-25.el7.x86_64 (@base) libwiretap.so.3()(64bit) Updated By: 1:wireshark-3.4.0-1.el7.x86_64 (/wireshark-3.4.0-1.el7.x86_64) Not ...(more)

jimijon gravatar imagejimijon ( 2022-08-09 23:14:23 +0000 )edit

Info from my centos 7 vm. Made a build of 3.2.3. in early 2020.

$ cd /etc
$ cat centos-release
CentOS Linux release 7.8.2003 (Core)

$ cmake -version
cmake version 3.17.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

$ grep -i cmake ./.bash*
./.bash_history:cmake -G Ninja ../wireshark-3.2.3
Chuckc gravatar imageChuckc ( 2022-08-10 02:04:40 +0000 )edit

The latest is got Wireshark to build and run. The issue now is that Wireshark is not detecting/showing loopback as an interface to capture. Suggestions?

jimijon gravatar imagejimijon ( 2022-08-11 22:35:57 +0000 )edit