Hi All

I have installed the net-snmp (from cvs today) distribution successfully
on a SunOS 5.8 Generic_117000-01 sun4u sparc SUNW,UltraAX-i2 box.
Unfortunately, when I run snmptrapd I get the following error...

> /usr/sbin/snmptrapd 
ld.so.1: /usr/sbin/snmptrapd: fatal: relocation error:
file /usr/lib/libnetsnmpagent.so.5: symbol netsnmp_register_null:
referenced symbol not found
Killed

When I look for the symbol in the library I get the following

>nm /usr/lib/libnetsnmpagent.so.5 | grep netsnmp_register_null 
[1115]  |         0|       0|NOTY |GLOB |0    |UNDEF  |
netsnmp_register_null
[1492]  |         0|       0|NOTY |GLOB |0    |UNDEF  |
netsnmp_register_null_context

... so the symbol is there!!

I have asked this same question before and thought I had sorted the
issue with an upgrade to gcc 3.3.2. Unfortunately, I have jumpstarted a
new Solaris 2.8 box and it has failed again.

I can understand linker errors when the binary can't find the library it
needs (LD_LIBRARY_PATH or crle), but not when it exists and the error it
produces seems erroneous.

Any ideas how can I resolve this issue!?

other info
------------
>crle
Default configuration file (/var/ld/ld.config) not found
  Default Library Path (ELF):   /usr/lib  (system default)
  Trusted Directories (ELF):    /usr/lib/secure  (system default)

>gcc -v
Reading specs
from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2

>make -v 
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Thanks

Andy
-- 
perl -e "print qq^bIG VeRN ! ^^qq^#'#Yv#=<D+ ^"

This e-mail is private and may be confidential and is for the intended 
recipient only.  If misdirected, please notify us by telephone and confirm that 
it has been deleted from your system and any copies destroyed.  If you are not 
the intended recipient you are strictly prohibited from using, printing, 
copying, distributing or disseminating this e-mail or any information contained 
in it.  We use reasonable endeavours to virus scan all e-mails leaving the 
Company but no warranty is given that this e-mail and any attachments are virus 
free.  You should undertake your own virus checking.  The right to monitor 
e-mail communications through our network is reserved by us. 




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to