Discussion:
After installing net-snmp 5.7.3 from source code, no libnetsnmpagent.so
Hess S
2017-06-01 15:28:37 UTC
Permalink
Hi, I'm trying to install net-snmp 5.7.3 to an alternative location on
a RedHat workstation. Since there's no relocatable rpm available, I
did it from the source code, following instruction in the package.
However after it completed "make install", I only see libraries for
libnetsnmp and libnetsnmphelpers. I also have an installation from
RedHat rpms, with libnetsnmpagent, libnetsnmpmibs, and
libnetsnmptrapd.

I do see an old post in the mailing list, saying that net-snmp's own
rpm is equivalent to three RedHat rpms combined. Not sure if that's
valid now.

I wonder how to get libraries for libnetsnmpagent, libnetsnmpmibs, and
libnetsnmptrapd for net-snmp 5.7.3

Thanks a lot!
Smon
shubham soni
2017-06-02 01:41:55 UTC
Permalink
Hi,
Have u checked these so files in /use/local/lib directory, as when u
install the rpm, these so get installed in /usr/lib folder but when u
compile and install from the source file, the path may be different and in
case of netsnmp the default path for installing library is /usr/local/lib
Post by Hess S
Hi, I'm trying to install net-snmp 5.7.3 to an alternative location on
a RedHat workstation. Since there's no relocatable rpm available, I
did it from the source code, following instruction in the package.
However after it completed "make install", I only see libraries for
libnetsnmp and libnetsnmphelpers. I also have an installation from
RedHat rpms, with libnetsnmpagent, libnetsnmpmibs, and
libnetsnmptrapd.
I do see an old post in the mailing list, saying that net-snmp's own
rpm is equivalent to three RedHat rpms combined. Not sure if that's
valid now.
I wonder how to get libraries for libnetsnmpagent, libnetsnmpmibs, and
libnetsnmptrapd for net-snmp 5.7.3
Thanks a lot!
Smon
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Hess S
2017-06-02 02:30:08 UTC
Permalink
Hi,

Thanks for the input. But there's nothing under /usr/local/lib/ for
netsnmp. I used this command to the first step:
./configure --prefix=$HOME/testsnmp --exec-prefix=$HOME/testsnmp

I see $HOME/testsnmp/lib/ has libraries for libnetsnmp and
libnetsnmphelpers. But no other libraries.

Thanks!
Smon
Hi,
Have u checked these so files in /use/local/lib directory, as when u install
the rpm, these so get installed in /usr/lib folder but when u compile and
install from the source file, the path may be different and in case of
netsnmp the default path for installing library is /usr/local/lib
Post by Hess S
Hi, I'm trying to install net-snmp 5.7.3 to an alternative location on
a RedHat workstation. Since there's no relocatable rpm available, I
did it from the source code, following instruction in the package.
However after it completed "make install", I only see libraries for
libnetsnmp and libnetsnmphelpers. I also have an installation from
RedHat rpms, with libnetsnmpagent, libnetsnmpmibs, and
libnetsnmptrapd.
I do see an old post in the mailing list, saying that net-snmp's own
rpm is equivalent to three RedHat rpms combined. Not sure if that's
valid now.
I wonder how to get libraries for libnetsnmpagent, libnetsnmpmibs, and
libnetsnmptrapd for net-snmp 5.7.3
Thanks a lot!
Smon
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Pushpa Thimmaiah
2017-06-27 10:59:35 UTC
Permalink
Hi,

Can you check in net-snmp-5.7.3/agent/.libs folder (its invisible) ?
Post by Hess S
Hi, I'm trying to install net-snmp 5.7.3 to an alternative location on
a RedHat workstation. Since there's no relocatable rpm available, I
did it from the source code, following instruction in the package.
However after it completed "make install", I only see libraries for
libnetsnmp and libnetsnmphelpers. I also have an installation from
RedHat rpms, with libnetsnmpagent, libnetsnmpmibs, and
libnetsnmptrapd.
I do see an old post in the mailing list, saying that net-snmp's own
rpm is equivalent to three RedHat rpms combined. Not sure if that's
valid now.
I wonder how to get libraries for libnetsnmpagent, libnetsnmpmibs, and
libnetsnmptrapd for net-snmp 5.7.3
Thanks a lot!
Smon
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Loading...