ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] After rpm install, dumpcap not found when trying to capture

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Wed, 26 Jul 2006 15:33:07 -0400
I recently created and installed a wireshark rpm on a PC running Fedora
Core 4.  After rpm install, I ran wireshark and attempted to capture
packets, but the following errors resulted in 2 separate popup dialog
boxes:

1)	Couldn't run /usr/X11R6/bin/dumpcap in child process:
	No such file or directory
				[OK]

2)	Child capture process exited: exit status 2
				[OK]


Since I did not specify where to install any of the wireshark
components, it seems that the default installation directory for
Wireshark is /usr/X11R6/bin/, but the default installation directory for
dumpcap is /usr/bin/.  This I verified via "rpm -ql".  However, it seems
that wireshark is looking for dumpcap in /usr/X11R6/bin/ and since it's
not there, the capturing fails.

For now I have remedied this problem by creating a symbolic link named
dumpcap in /usr/X11R6/bin/ that points to /usr/bin/dumpcap.

So, has anyone else run into this problem, or did I do something wrong
when I built the rpm?

Thanks,
Chris


-----------------------------------------
This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention,
distribution or disclosure by others is strictly prohibited. If you
are not the intended recipient (or authorized to receive for the
recipient), please contact the sender by reply email and delete all
copies of this message. Also, email is susceptible to data
corruption, interception, tampering, unauthorized amendment and
viruses. We only send and receive emails on the basis that we are
not liable for any such corruption, interception, tampering,
amendment or viruses or any consequence thereof.