Re: Compilation problem for IFMIB

Daniel Lacey <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Your setup is a bit old for me, but...

On RHEL 4 and CentOS 4, I get the following:

# ls -l
/usr/lib/libsen*

lrwxrwxrwx 1 root root 19 Mar 1 2006 /usr/lib/libsensors.so.3
-> libsensors.so.3.0.5

-rwxr-xr-x 1 root root 139808 Nov 8 2005 /usr/lib/libsensors.so.3.0.5

# rpm -q --whatprovides libsensors.so.3

lm_sensors-2.8.7-2.40.3

You need one or more
"lm_sensors" rpms...

Treesa Fairy Joseph wrote:

Hello,
Please help me with the following.
My system is Fedora Core 3. I have installed net-snmp-5.2.1.2,
in my system. Now I am installing the IFMIB in my system.
I am following the steps specified in the tutorial section of net-snmp
site. I have done the following steps.
1. I have generated the code using mib2c.
2. Generated the Makefile, using the following command.
mib2c -c mfd-makefile.m2m ifTable
3. Now compiling the ifMIB with the following command,
make -f ifTable_Makefile
And I am getting the following output.

gcc -o ifTable ifTable_data_access.o ifTable.o ifTable_interface.o
`net-snmp-config --agent-libs`
/usr/bin/ld: cannot find -lsensors
collect2: ld returned 1 exit status
make: *** [ifTable] Error 1

What to do for this problem?

Thanx in advance,
Treesa

--
Open WebMail Project ( http://openwebmail.org )

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.