Closed sjlongland closed 8 years ago
Presently, if the user does not specify the library path, it is assumed to be in /usr/local/lib, which is wrong unless you install from source.
/usr/local/lib
I don't think it right that we should have to know where to find this library, so instead, use find_library in ctypes.util to locate it automatically.
find_library
ctypes.util
This should resolve https://github.com/rscada/python-mbus/issues/7
Thanks! And sorry for taking so long to get to review this.
Presently, if the user does not specify the library path, it is assumed to be in
/usr/local/lib
, which is wrong unless you install from source.I don't think it right that we should have to know where to find this library, so instead, use
find_library
inctypes.util
to locate it automatically.