cyrus 2.0.11 + snmp + Red Hat 7.3 compile fails
Scott Russell
lnxgeek at us.ibm.com
Fri Jan 24 12:01:11 EST 2003
On Fri, Jan 24, 2003 at 11:03:08AM -0500, Scott Russell wrote:
> Greets -
>
> After the recent talk of snmp stats I've decided to play with it
> myself. My system is Red Hat 7.3, ucd-snmp-4.2.5-7.73.0 an cyrus
> 2.0.11 from source.
Err, Umm, make that Cyrus 2.1.11 from source. :) Sorry. Anyone have
some clues for the rest of the problem described below?
> During the build of master.c it fails with some missing libs. I found
> an old email from Igor which helps but doesn't quite solve it. After
> adding this to master/master.c to support libwrap:
>
> int allow_severity = LOG_DEBUG;
> int deny_severity = LOG_ERR;
>
> And adding -lrpmio -lrpmdb -lrpm -lpopt -lwrap to the LDLIBS to
> pulling required libs I still get the following build error. I see
> from hosts_access(5) that hosts_ctl comes from libwrap and I've
> verified that /usr/lib/libwrap.a exists. I assume ld is picking it up
> since it doesn't give me an error. At this point my amature C skills
> come to an abrubt halt. :) Any thoughts on what tweak I need to get
> past this build error?
>
> [root at imap master]# make
> gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/lib -Wall -g
> -O2 -o master master.o masterconf.o cyrusMasterMIB.o -lrpmio -lrpmdb
> -lrpm -lpopt -lwrap -lucdagent -lucdmibs -lsnmp -lssl -lcrypto -lfl
> -ldb-3.3 -lresolv /usr/lib/libcom_err.a
>
> /usr/lib/libucdmibs.so: undefined reference to hosts_ctl'
> collect2: ld returned 1 exit status
> make: *** [master] Error 1
>
--
Scott Russell (lnxgeek at us.ibm.com)
Linux Technology Center, System Admin, RHCE.
Dial 877-735-8200 then ask for 919-543-9289 (TTY)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030124/b9c1eed9/attachment.bin
More information about the Info-cyrus
mailing list