Hi,

 

I ran the following compilation and got the following errors

 

./configure -with-mib-modules="host"

 

configure went through clean

 

make fails at the following sections

 

1)       looking for libbeecrypt  (saw rstory's post on the IRC, loaded missing library)

2)       had to also load elfutils-devel

 

 

Current error is

 

gcc -I/usr/include/rpm -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o  -L/lib ./.libs/libnetsnmpagent.so ./.libs/libnetsnmpmibs.so helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl /usr/lib/librpm.so -L/usr/src/build/389603-i386/install/usr/lib -L/usr/lib /usr/lib/librpmdb.so -L/usr/local/lib -lselinux /usr/lib/librpmio.so /usr/lib/libbeecrypt.so -lrt -lpthread /usr/lib/libpopt.so -lbz2 -lz -lcrypto -lelf -lm  -Wl,--rpath -Wl,/usr/local/lib

/usr/bin/ld: cannot find -lselinux

collect2: ld returned 1 exit status

make[1]: *** [snmpd] Error 1

make[1]: Leaving directory `/usr/local/pkgs/net-snmp-5.1.2/agent'

make: *** [subdirs] Error 1

 

But I have selinux

 

[[EMAIL PROTECTED] pkgs]# cd /lib/

You have new mail in /var/spool/mail/root

[[EMAIL PROTECTED] lib]# ls -la libse*

-rwxr-xr-x  1 root root 60776 May  5 12:11 libselinux.so.1

[[EMAIL PROTECTED] lib]#

 

 

Any ideas is greatly appreciated.

 

Thanks

Reply via email to