Adam Tauno Williams wrote:
Look in the .libs subdirectory that libtool creates. I suppose I should have added an "install" target to invoke "libtool --install" but I really had no idea where would be a good destination directory to install to in general. As such, you have to install it by hand or work out your own install rule. In Connexitor we install modules in /opt/symas/lib/openldap but when you're building the source on your own your install tree will probably look nothing like ours.Should it be possible to build the smbk5pwd plugin from HEAD inside a 2.2.19
tree?
It would appear that it compiles, but results in -
README
smbk5pwd.c
smbk5pwd.la
smbk5pwd.lo
smbk5pwd.o
- while adding "moduleload smbk5pwd" seems to require a valid so (ELF library) -
Dec 10 14:08:48 estate2 slapd[11497]: @(#) $OpenLDAP: slapd 2.2.19 (Dec 8 2004 01:22:50) $ root@estate2:/tmp/openldap-2.2.19/servers/slapd Dec 10 14:08:48 estate2 slapd[11497]: bdb_back_initialize: Sleepycat Software: Berkeley DB 4.2.52: (October 5, 2004) Dec 10 14:08:48 estate2 slapd[11497]: lt_dlopenext failed: (smbk5pwd.la) /usr/lib/openldap/modules/smbk5pwd.so.0: cannot open shared object file: No such file or directory Dec 10 14:08:48 estate2 slapd[11497]: /etc/openldap/slapd.conf: line 14: failed to load or initialize module smbk5pwd.la
- which [ obviously ] the .la file is not. Although the examples at -
http://www.symas.com/techtips/introtooverlays.html
- specify to load modules as "moduleload back_monitor.la" ????
-- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support