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 <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
class _Handler(logging.Handler):
- _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)