packages for solaris 10 x86

Andrew Morgan morgan at orst.edu
Fri Oct 8 23:06:33 EDT 2010


On Fri, 8 Oct 2010, Frank Pittel wrote:

> Now I'm trying to compile cyrus-imapd and am running into the following error:
>
> cyrusMasterMIB.c
> gcc -L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib -o master master.o
> masterconf.o cyrusMasterMIB.o ../lib/lock_fcntl.o ../lib/libcyrus_min.a -R../lib
> -L/usr/sfw/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -ldl -lkvm -lz
> -lpkcs11 -lkstat -lelf -lm -ldl -lnsl -lsocket -ladm -lgss -lresolv -lresolv -lssl
> -lcrypto   -lresolv  -lresolv -lsocket -lnsl  -L/usr/local/BerkeleyDB.4.7/lib
> -R/usr/local/BerkeleyDB.4.7/lib -ldb-4.7 -lz -lmd ../com_err/et/libcom_err.a
> Undefined                       first referenced
> symbol                             in file
> netsnmp_enable_subagent             master.o
> ld: fatal: Symbol referencing errors. No output written to master
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `master'
> Current working directory /src/cyrus-imapd-2.3.16/master
> *** Error code 1
> The following command caused the error:
> for d in  man com_err/et  lib  sieve master imap  imtest   perl timsieved notifyd; \
> do \
>        (cd $d; echo "### Making" all "in" `pwd`;       \
>                make  DESTDIR= all) || exit 1; \
> done
> make: Fatal error: Command failed for target `all'
>
>
> Sigh!! there has to be an easier way. Anyone have an idea of how to get 
> past this? I'm not a programmer.

It seems to be failing when it tries to link in the snmp libraries. 
Personally, I've never used the snmp features of Cyrus.  You could try 
disabling them:

   make clean
   ./configure --without-snmp --whatever-other-options-you-use
   make

 	Andy


More information about the Info-cyrus mailing list