ppm.so not found
davidcoutadeur opened this issue · 2 comments
davidcoutadeur commented
Reproduced on CentOS 7 and OpenLDAP 2.6.2.
As OpenLDAP 2.6.2 now loads ppm directly from its configuration, it becomes a problem:
- openldap and openldap-contrib-overlays packages are made dependant (you need to have ppm.so from openldap-contrib-overlays in order to load slapd)
- even when installing openldap-contrib-overlays, RPM packages are broken because openldap-contrib-overlays is installed after. (I suppose in debian packages this is not a problem because all packages are installed in a first time, and then postinstall occurs)
Possible solutions:
- remove ppm loading in configuration and data
- make the ppm path declaration in openldap-contrib-overlays postinst script
- make openldap-contrib-overlays a dependancy of openldap-ltb + find a way to install ppm.so before openldap-ltb postinstall script
- compile and install ppm directly in main openldap package
davidcoutadeur commented
See also the same problem in RPM packages: ltb-project/openldap-rpm#95
davidcoutadeur commented
Should be ok with last commit 0189f92
Don't forget to update the documentation when new openldap version is released: https://ltb-project.org/documentation/openldap-packages.html