Ad Widget

Collapse

Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Geoff_S
    Junior Member
    • Jan 2012
    • 2

    #1

    Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.

    Hello!

    I have just started to load Zabbix to try it out in my environment. I was able to get the zabbix server up and running on Linux, but I am now trying to get the agent working on AIX. I downloaded the precompiled zabbix_agents_1.8.5.aix5300-08.powerpc.tar and placed the files into /usr/bin and /usr/sbin. When I try to run the zabbix_agentd, I get the following error:

    root: ./zabbix_agentd
    exec(): 0509-036 Cannot load program ./zabbix_agentd because of the following errors:
    0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
    0509-152 Member libiconv.so.2 is not found in archive

    When I check the archive, I get the following:

    root: ar tv /usr/lib/libiconv.a
    r--r--r-- 2/2 116968 Nov 10 17:22 2010 shr4.o
    r--r--r-- 2/2 117218 Nov 10 17:22 2010 shr.o

    How do I then get the shr2.0 there to make it work??

    Also, I have tried to compile using gcc and ran into all types of issues.

    Thanks!!

    Geoff S
  • MaartenKreuger
    Junior Member
    • Feb 2012
    • 1

    #2
    Compile error with agent compile on AIX 6.1

    Compiling is the only way you'll solve this;

    I have done so on AIX 6.1, and got an error as well. This was solved by editing a header file and commenting the offending line out:

    vi /usr/include/netinet/in6_var.h
    ...
    /* extern CONST struct protosw inet6sw[]; */
    ...

    Don't forget to restore you original header file after you're done.

    Comment

    • ceinmart
      Junior Member
      • Nov 2012
      • 28

      #3
      Hi Geoff,

      I got the same issue here.
      I'm starting work with zabbix and this creep issue with aix 5.3 is annoying me.

      At first workaround , and little insecure solution is use the package for aix 6.
      what allow to collect some basics things , but isn't 100% compatible..
      any way, it works...

      Is very very very very stupid have a version at offical zabbix download page , for AIX what anyone want use it... need to recompile... if so , they should remove this garbage from downloads page... and avoid our stress with this issue taking our time trying do this useless agent work.
      or at least include some warning saying : this agent works only over 1% of AIX of world... if not work with you, don't take your time... forget it...

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        Perhaps that could help someone: https://support.zabbix.com/browse/ZBX-2166

        Comment

        Working...