wireshark/wireshark-0003-Load-correct-shared-object-name-in-python.patch
Peter Lemenkov 1444df1987 Ver. 1.10.1
- Backported rtpproxy dissector module
- Removed outdated, and applied upstream patches

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2013-09-10 14:16:03 +04:00

29 lines
889 B
Diff

From cd1f3ac8810a9abda87e71f6d5a3a8e46fcbdde9 Mon Sep 17 00:00:00 2001
From: Jan Safranek <jsafrane@redhat.com>
Date: Thu, 9 Jun 2011 14:56:59 +0200
Subject: [PATCH 3/7] Load correct shared object name in python.
This fixes following error message shown by wireshark/tshark when wireshark-devel
was not installed:
libwireshark.so: cannot open shared object file: No such file or directory
---
epan/wspython/wspy_libws.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/epan/wspython/wspy_libws.py b/epan/wspython/wspy_libws.py
index a293a17..73ce012 100755
--- a/epan/wspython/wspy_libws.py
+++ b/epan/wspython/wspy_libws.py
@@ -35,7 +35,7 @@ def get_libws_libname():
elif system == "Windows":
return 'libwireshark.dll'
else:
- return 'libwireshark.so'
+ return 'libwireshark.so.2'
def get_libws_handle():
global __libwireshark
--
1.8.3.1