sys-cluster/heartbeat-1.0.3-r1 Package will only install with ucd-snmp and not with net-snmp. Error is a missing libarary: gcc -shared apcmastersnmp.lo -lsnmp -lcrypto -lc -lrt -ldl -Wl,-soname -Wl,apcmastersnmp.so -o .libs/apcmastersnmp.so (cd .libs && rm -f null.la && ln -s ../null.la null.la) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsnmp Solution: Check if net-snmp is installed instead of ucd-snmp. If this is the case, then: # ln -s /usr/lib/libnetsnmp.so /usr/lib/libsnmp.so
that's not the correct way to go about fixing this, I'm talking with the heartbeat maintainers about fixing the configure script to search for both libs
Yes youre right. It is just a work around to get this program working. Thanking you in advance for talking to the Heartbeat developers.
talked more with heartbeat devs, only ucd-snmp is supported, but they cautioned me against using snmp at all, so I've just removed that whole part until they get it more stable