Re: Kerberos libs dependancy in linking with mmc created module
David Hakim <dhakim-Gkm/TONP9n1Wk0Htik3J/[email protected]> Sun, 2 Feb 2003 15:56:04 -0500
| Newsgroups | gmane.comp.lang.moto.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sunday, February 2, 2003, at 02:00 PM, Stefano Corsi wrote: > Hello, > > I've tried to experiment with the apache .dso feature and everything > goes > smooth until I try to restart apache, then I get this: > > Starting httpd: Syntax error on line 368 of /etc/httpd/conf/httpd.conf: > Cannot load /etc/httpd/modules/mod_motoqa.so into server: > /etc/httpd/modules/mod_motoqa.so: undefined symbol: > krb5_sname_to_principal > I would bet there is some dependence in the postgres driver on this library. Try running ./mototest db.list in the tests directory and see if the postgres test fails on output in compiled mode. We may need to add some extra configure checks for the pgsql driver at build time if this is the case. > I see that probably lib_codex links some other lib with krb_inside and > the > probably my apache is not compiled with kerberos (and at the moment I > wuold > like to leave it as it is...). Is there a way to get rid of that > "krb5_sname_to_principal" symbol? > Are you sure its libcodex ? If so than this is a big problem, libcodex should in no way be relying on any sort of crypto libs. See if you can verify this by using the 'nm' utility on libcodex.a . My suspicion is still that the problem is with the moto postgres driver. -Dave > Thanks, > Stefano >