Opened 4 years ago
Closed 4 years ago
#11225 closed defect (fixed)
openldap needs .la files at runtime
|Reported by:||thomas||Owned by:||thomas|
slapd will not start in case the .la files has been removed.
Looks like that at least /zsr/lib/openldap should be added to the exception in the remove-la-files.sh script. There are additional .la in /usr/lib but I'm not sure (yet) whether they are needed at runtime
Change History (5)
comment:1 by , 4 years ago
|Status:||new → assigned|
comment:2 by , 4 years ago
comment:3 by , 4 years ago
Do you remember the thread on blfs-dev starting at http://lists.linuxfromscratch.org/pipermail/blfs-dev/2018-March/034165.html? At the time, it looked like the .la files were referenced in the slapd.conf file, and that removing the .la extension was enough. Is it not true anymore? Or maybe you missed the sed in the "configuring" section. if so, it may be better to move it to the "Installation" section...
comment:4 by , 4 years ago
Was commented out in r20527 - looks like this needs to be reverted (or brought in again at installation section)
Thanks Pierre for the pointer, wasn't aware of that thread.
comment:5 by , 4 years ago
|Status:||assigned → closed|
Fixed in r20618
Yes, it looks like you are right. I see lt_dlopen in servers/slapd/overlays/ppolicy.c, servers/slapd/slapi/plugin.c, and servers/slapd/module.c.
We'll have to investigate what modules it is trying to open. I haven't built the server ins a long time -- just the client.