Hans Deragon <[EMAIL PROTECTED]> writes:

>   I tried to compile cyrus under Red Hat 7.1, but the following errors
>   occured:

> undefined reference to `rpmdbClose'

Looks familiar. :-\

>   I suspected that it might be a compiler issue (2.96 is I believe still 
>experimental)
>   so I compiled with kgcc:

No, it's not gcc. (read below)

>   Since it refers to rpm* stuff, I do not suspect that Cyrus itself is broken, but
>   Red Hat 7.1.  I could not imagine why Cyrus would want to have anything to

Yes, Red Hat *is* broken.

>   do with rpms, unless this acronym stands for something else than the usual
>   binary packaging system.

>   Any help would be appreciated.  I have no clue what libucdmibs.so's function is
>   and how to correct this.  Is it possible that library is missing on the
>   compiler's command line?

Uninstall snmp package, autoconfigure from cyrus-imapd will find this
libraries, and include support for snmp. This libraries are somehow
linked with rpm libraries (!?). Just hide or temporary deinstall
snmp-devel and snmp (rpm -qa | grep snmp - don't remember full name of
package) and rerun ./configure (remove config.cache before, or
extract source again). Maybe you can add --without-snmp to
cyrus-imapd, but it's safer ti just remove/hide snmp from RedHat.

Another error during compilation will be previous declaration of some
extern char from malloc.h (or stdio.h?). Just somment out that line in
cyru code and rerun make.

Sorry, this are nasty workarounds, but I don't know better. :-(


-- 
This signature intentionally left blank

Reply via email to