SNMP Perl Module 설치 관련 문의..

ohmy_anne의 이미지

mib2c 를 사용하고자.. Net SNMP 5.3.1 의 Perl/ 디렉토리의 내용을 이용해서 .. SNMP 모듈을 설치하고자 하는데
계속 에러가 나네요..ㅠ.ㅠ

이 곳을 참조해서 별별거 다해봤는데 늘..동일한 에러... 원인을 좀 알려주세요..
RedHat Linux AS4 를 사용하고 있습니다

net-snmp-5.3.1 을 ./configure, make, make test, make install 로 설치 후

net-snmp-5.3.1/perl/ 디렉토리에서 perl Makefile.PL, make, make test, make install 실행 시..

perl Makefile.PL 을 실행하면..
[root@CAS_151 perl]# perl Makefile.PL
Writing Makefile for NetSNMP::default_store
Writing Makefile for NetSNMP::ASN
Writing Makefile for NetSNMP::OID
Writing Makefile for NetSNMP::agent::default_store
Writing Makefile for NetSNMP::agent
Writing Makefile for SNMP
Warning: prerequisite NetSNMP::OID 5.1 not found.
Writing Makefile for NetSNMP::TrapReceiver
Writing Makefile for Bundle::NetSNMP

에러가 발생하고..

make test 를 실행하면..
[root@CAS_151 perl]# make test
make[1]: Entering directory `/usr/local/net-snmp-5.3.1/perl/default_store'
make[1]: Leaving directory `/usr/local/net-snmp-5.3.1/perl/default_store'
make[1]: Entering directory `/usr/local/net-snmp-5.3.1/perl/ASN'
make[1]: Leaving directory `/usr/local/net-snmp-5.3.1/perl/ASN'
make[1]: Entering directory `/usr/local/net-snmp-5.3.1/perl/OID'
make[1]: Leaving directory `/usr/local/net-snmp-5.3.1/perl/OID'
make[1]: Entering directory `/usr/local/net-snmp-5.3.1/perl/agent'
make[2]: Entering directory `/usr/local/net-snmp-5.3.1/perl/agent/default_store'
make[2]: Leaving directory `/usr/local/net-snmp-5.3.1/perl/agent/default_store'
make[1]: Leaving directory `/usr/local/net-snmp-5.3.1/perl/agent'
make[1]: Entering directory `/usr/local/net-snmp-5.3.1/perl/SNMP'
make[1]: Leaving directory `/usr/local/net-snmp-5.3.1/perl/SNMP'
make[1]: Entering directory `/usr/local/net-snmp-5.3.1/perl/TrapReceiver'
make[1]: Leaving directory `/usr/local/net-snmp-5.3.1/perl/TrapReceiver'
make[1]: Entering directory `/usr/local/net-snmp-5.3.1/perl/default_store'
PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch" test.pl
1..64
Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.10: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at test.pl line 71
Compilation failed in require at test.pl line 71.
BEGIN failed--compilation aborted at test.pl line 71.
not ok 1
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/usr/local/net-snmp-5.3.1/perl/default_store'
make: *** [test] Error 2

에러가 발생합니다..

mib2c 를 실행하면..
[root@CAS_151 lib]# mib2c

ERROR: You don't have the SNMP perl module installed. Please obtain
this by getting the latest source release of the net-snmp toolkit from
http://www.net-snmp.org/download/ . Once you download the source and
unpack it, the perl module is contained in the perl/SNMP directory.
See the README file there for instructions.

메시지가 나구요..

/etc/ld.so.conf 파일에 라이브러리 경로도 모두 추가해 주었습니다.. 무엇이 문제 일까요..ㅠ.ㅠ

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.