Fix: specify SONAME in python-lttngust LoadLibrary
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
Appliedmerged into master, 2.9, 2.10, thanks!
Mathieu
Quoted 27 lines · ----- On Nov 21, 2017, at 11:11 AM, Michael Jeanson [email protected] wrote:
When loading the python agent library with ctypes in the python bindings, specify the SONAME. This will make sure we load the proper library in the event of a SONAME bump and the bindings will work without having to install the "dev" package which in most distros contains the non-versionned ".so".
Signed-off-by Michael Jeanson <[email protected]>---
python-lttngust/lttngust/loghandler.py| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)python-lttngust/lttngust/loghandler.py +0
-0@@ -22,7 +22,7 @@ import ctypesclass
_Handler(logging.Handler):python-lttngust/lttngust/loghandler.py +1
-2- _LIB_NAME = 'liblttng-ust-python-agent.so' + _LIB_NAME = 'liblttng-ust-python-agent.so.0' def __init__(self): super(self.__class__, self).__init__(level=logging.NOTSET) --2.7.4
Signature · 7 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev