> But when I try to invoke qmail-smtpd (or qmail-remote for example) I get this >problem: > > /var/qmail/bin/qmail-smtpd: error in loading shared libraries: >/usr/local/openldap/lib/liblber.so.2: undefined symbol: __dso_handle >
I have solved the problem. (Thank you Gene Parks by the way..) The problem was that I compiled OpenLDAP (2.0.19) and QmailLDAPControl with GCC 3.0.3. I just downgraded to GCC 2.95.13 and recompiled everything, and it worked fine! As I could see, the problem were in OpenLDAP and not in Qmail. (OpenLDAP uses a call to __dso_handle()) So heads up if you're trying to compile OpenLDAP with GCC 3.x! (maybe only on linux (debian)) Regards, Johan Andersson
