Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26612 - sys-cluster/heartbeat-1.0.3-r1 ebuild does not install with net-snmp
Summary: sys-cluster/heartbeat-1.0.3-r1 ebuild does not install with net-snmp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brian Jackson (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-08-14 05:48 UTC by smouge
Modified: 2003-09-23 23:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description smouge 2003-08-14 05:48:34 UTC
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
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2003-08-18 16:15:33 UTC
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 
Comment 2 smouge 2003-08-23 04:12:51 UTC
Yes youre right. It is just a work around to get this program working. 
 
Thanking you in advance for talking to the Heartbeat developers. 
Comment 3 Brian Jackson (RETIRED) gentoo-dev 2003-09-23 23:39:55 UTC
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