Closed reach4bawer closed 3 years ago
Output for the -
otool -L /usr/local/lib/python3.7/site-packages/bonsai/_bonsai.cpython-37m-darwin.so
/usr/local/lib/python3.7/site-packages/bonsai/_bonsai.cpython-37m-darwin.so:
@loader_path/.dylibs/libldap-2.4.2.10.11.dylib (compatibility version 13.0.0, current version 13.11.0)
@loader_path/.dylibs/liblber-2.4.2.10.11.dylib (compatibility version 13.0.0, current version 13.11.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.200.5)
I had the chance to build the module on a similar environment (macos 10.15.3, openssl 1.1.1f, openldap 2.4.49, python 3.7.7), and your example code (tailored to the test docker ldap server) ran successfully.
Could you simplify the code to a synchronous connection and see that the error is still same?
The synchronous connection didn't work either so I uninstalled the module and had to recompile the code from source to make it work. Every-time there is an update to python or OpenLdap this would break.
I am not sure if it's just my system or if anyone else has faced it. I used brew to manage the packages for both python and the openldap.
I recently got Macbook system refreshed and I am trying to get bonsai working -
I am not sure if it is version compatibility or something else, is there something that I need to change?