Including UCD-SNMP support in Cyrus IMAPD
marc.bigler at day.com
marc.bigler at day.com
Sat Jan 4 17:02:44 EST 2003
>Try ('make distclean' first)
>LIBS=-lkstat ./configure ....
>The real fix is to build self-contained ucd-snmp libs.
>master.c will not compile if ucd-snmpd package is built with libwrap.
>If this is the case, I can email you my patch.
>Hope this helps.
That helped for the configure but now I get the following error when
issuing gmake all:
gcc -L/opt/sfw/lib -R/opt/sfw/lib -L/opt/sfw/lib -L/usr/local/lib
-R/usr/local/lib -R/opt/sfw/lib:/opt/openssl/lib:/opt/ucdsnmp/lib
-L/opt/openssl/lib -L/opt/ucdsnmp/lib -Wall -g -O2 -o master master.o
masterconf.o cyrusMasterMIB.o -lucdagent -lucdmibs -lsnmp -ldl -ldb-3.1
-lkstat -lssl -lcrypto -lresolv -lsocket -lnsl ../et/libcom_err.a
Undefined first referenced
symbol in file
kvm_read /opt/ONucdsnmp/lib/libucdagent.so
kvm_getu /opt/ONucdsnmp/lib/libucdmibs.so
kvm_open /opt/ONucdsnmp/lib/libucdagent.so
nlist /opt/ONucdsnmp/lib/libucdmibs.so
kvm_setproc /opt/ONucdsnmp/lib/libucdmibs.so
kvm_nextproc /opt/ONucdsnmp/lib/libucdmibs.so
ld: fatal: Symbol referencing errors. No output written to master
collect2: ld returned 1 exit status
gmake[1]: *** [master] Error 1
gmake[1]: Leaving directory `/opt/source/cyrus-imapd-2.1.11/master'
gmake: *** [all] Error 1
bash-2.05$ echo $LIBS
-lkstat
I think the problem is really in my UCD-SNMP library, do you maybe know how
I can fix my UCD-SNMP libraries ?
Regards
Marc
More information about the Info-cyrus
mailing list