Re: Kerberos libs dependancy in linking with mmc created module

Stefano Corsi <[email protected]> Mon, 3 Feb 2003 00:41:47 +0000
Newsgroups gmane.comp.lang.moto.devel
Organization Moto Project
Message-ID <[email protected]>
Alle 22:05, domenica 2 febbraio 2003, David Hakim ha scritto:
> Ok, so the way to get things working on your system is to modify
> mx/codex/db/pgsql/PGSQL.i adding the appropriate Library or Archive. So
> if the symbols you need were defined in libkerberos.so you would add:

I have tried both this:

Library: -lkrb5
Library: -lkrb4
Library: -lgssapi_krb5

and this:

Archive: "/usr/kerberos/lib/libgssapi_krb5.a"
Archive: "/usr/kerberos/lib/libkrb5.a"
Archive: "/usr/kerberos/lib/libkrb4.a"

in almost any combination, with no result.

I continue having this message:

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 get also this output from nm:

incipalocalhost document_root]# nm /etc/httpd/modules/mod_motoqa.so | grep 
krb5_sname_to_pri
         U krb5_sname_to_principal

Can the problem be in apache missing kerberos support?

Any other clue?

Stefano