Hi All, I'm trying to build net-snmp-5.7.1 in our system. Because the build system we're using the package would be built into rpm before installing in file system. I edited a rpm spec file based on the one in net-snmp tarball, nothing special, the only thing is related to openssl is like this:
Requires: openssl openssl-devel I have openssl-1.0.0g in the system, so the licrypto is libcrypto.1.0.0, and net-snmp links with it without any problem and compiled successfully. But the strange thing is, when the rpm packages are creating, it shows following message: Processing files: net-snmp-5.7.1-1.x86_64 Provides: config(net-snmp) = 0:5.7.1-1_WR3.0bg libnetsnmp.so.30()(64bit) libnetsnmpagent.so.30()(64bit) libnetsnmphelpers.so.30()(64bit) libnetsnmpmibs.so.30()(64bit) libnetsnmptrapd.so.30()(64bit) libsnmp.so.30()(64bit) Requires: /bin/sh /usr/bin/perl libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.1.0.0()(64bit) libcrypto.so.6()(64bit) libm.so.6()(64bit) libnetsnmp.so.30()(64bit) libnetsnmpagent.so.30()(64bit) libnetsnmpmibs.so.30()(64bit) libnetsnmptrapd.so.30()(64bit) libwrap.so.0()(64bit) The strange thing is that, it shows net-snmp requires both "libcrypto.so.1.0.0" and "libcrypto.so.6". Since in my system, we don't have libcrypto.so.6, so the final rpm dependency check would fail (our build system has such a step). My question is, why the hell libcrypto.so.6 is required by net-snmp-5.7.1 even it's compiled with openssl-1.0.0g successfully? Who adds such a dependency? How to fix it? I'll appreciate anyone could shed some lights ... Thanks. - Reeve ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
