Including UCD-SNMP support in Cyrus IMAPD

Igor Brezac igor at ipass.net
Wed Jan 8 16:51:16 EST 2003


On Wed, 8 Jan 2003 marc.bigler at day.com wrote:

>
>
>
>
>
> >I must have mis-understood you.  You need to use this option to compile
> >cyrus-imapd.  -Wl,-zignore will ignore libraries not referenced by the
> >link process.
>
> >If you want to fix UCD-SNMP libs, you need to pass -Wl,-zdefs to LDFLAGS
> >and then add neccessary libs to the link process until everything compiles
> >fine.  Actually, you may need to use -zdefs because libtool on solaris
> >uses 'ld' for link-edit.  This is a libtool bug, but this is a subject for
> >a different forum.
>
> Oh ok this is for Cyrus IMAP, then I misunderstood you... So now from the
> two solutions you gave what do you think is the best to do:
>

You do not have to do either.  What you have works.  ;)  You asked me if
cyrus binaries can be compiled without all these unneccessary libraries?
Option 1) will do this.

1) - use -Wl,-zignore to compile Cyrus IMAP or

I would not go through the effort of fixing UCD libs unless you are
familiar with the link-edit process.  Do not bother with 2).

2) - use -Wl,-zdefs to compile UCD SNMP

Hope this helps.

-Igor





More information about the Info-cyrus mailing list