❦ 27 mai 2013 23:02 CEST, Vincent Bernat <[email protected]> : > Despite net-snmp package not depending on libsensors4-dev on > kfreebsd-* and the dependency not pulled by another dependency, > NetSNMP seems to believe it has a dependency to libsensors. Here is > the output of `net-snmp-config --agent-libs` on a clean chroot of > kFreeBSD i386: > > -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lsensors > -ldl -lnetsnmpagent -lwrap -Wl,-E -lnetsnmp -lcrypto -lm > > I have looked a bit how this -lsensors could get here but I really > have no clue. In the build log, it says: > > checking sensors/sensors.h usability... no > checking sensors/sensors.h presence... no > checking for sensors/sensors.h... no > > The only way to get -lsensors in LMIBLIBS is in > configure.d/config_os_libs2 which would only work if the headers are > found.
I just tried to recompile Net-SNMP on a clean schroot on fischer and I don't get "-lsensors". The build log seems the same as this one: https://buildd.debian.org/status/fetch.php?pkg=net-snmp&arch=kfreebsd-i386&ver=5.7.2%7Edfsg-7&stamp=1369032347 So, I wonder if the binary currently in the archive comes from buildd. Maybe it was compiled by hand on a system with libsensors4-dev installed? -- Write and test a big program in small pieces. - The Elements of Programming Style (Kernighan & Plauger)
pgpC9mL8AzZhj.pgp
Description: PGP signature

