2013-09-10 10:16:03 +00:00
|
|
|
From: Jan Safranek <jsafrane@redhat.com>
|
|
|
|
Date: Thu, 9 Jun 2011 14:56:59 +0200
|
2013-11-13 11:53:53 +00:00
|
|
|
Subject: [PATCH] Load correct shared object name in python.
|
2013-09-10 10:16:03 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
diff --git a/epan/wspython/wspy_libws.py b/epan/wspython/wspy_libws.py
|
2013-12-08 09:25:19 +00:00
|
|
|
index a293a17..0c528e4 100755
|
2013-09-10 10:16:03 +00:00
|
|
|
--- 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'
|
2013-12-08 09:25:19 +00:00
|
|
|
+ return 'libwireshark.so.3'
|
2013-09-10 10:16:03 +00:00
|
|
|
|
|
|
|
def get_libws_handle():
|
|
|
|
global __libwireshark
|