ld.so.1 false inking errors

From: Andy Ford (andy.ford_at_telindus.co.uk)
Date: 02/01/05

  • Next message: Miller Alan: "SUMMARY: AntiVirus software"
    To: sunmanagers@sunmanagers.org
    Date: Tue, 01 Feb 2005 13:59:23 +0000
    
    

    Hi All

    I have installed the net-snmp 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 in the net-snmp forum of which no-one
    responded (I assumed they thought it was a Solaris bug!)

    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.

    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.
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: Miller Alan: "SUMMARY: AntiVirus software"

    Relevant Pages

    • Re: Purchasing Security Software after the Fact
      ... With the state of virus and spy/malware today, ... I use Symantec (Norton) and like it. ... the amount that actually damage files is no where near ... a ton of Free Software out there that often ...
      (alt.sys.pc-clone.dell)
    • Re: Help & Support results never visible
      ... as you say it's under warranty. ... If you suspect a virus, what about an online scan, some viruses disable your own ... I'm glad this installation is under warranty because I've ...
      (microsoft.public.windowsxp.help_and_support)
    • Weird Email Tracking: Possible Virus, Possibly SPAM?
      ... The weird part is she never sent an email out to the intended recipient. ... The e-mail account does not exist at the organization this message was sent to. ... No recent entries indicating virus activity scanning her Outlook addressbook nor auto-propagating hidden emails. ... If not from the user's mailbox, then how does it even register in Message Tracking? ...
      (microsoft.public.exchange.admin)
    • Sendmail calling a script on inbound mail
      ... Visit Telindus Access Products & Surveillance Solutions at Cebit 2006, ... are not the intended recipient you are strictly prohibited from using, ... We use reasonable endeavours to virus scan all ...
      (SunManagers)
    • SunSolve
      ... Is the online Sunsolve System Handbook available on cdrom / searchable ... This message is for the intended recipient only. ... We may monitor all Email communication through our ... We take reasonable precautions to ensure our Emails are virus free. ...
      (SunManagers)