Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Netxms Agent Debian Stretch Undefined Symbol

Netxms Agent Debian Stretch Undefined Symbol

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 63.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    P
    Michal Hanajik
    wrote on last edited by
    #1

    Hello,

    I today was trying to install netxms-agent on Debian Strech, which was successful, but after installation - process of starting service failed on

    nxagentd[7708]: /usr/bin/nxagentd: symbol lookup error: /usr/bin/nxagentd: undefined symbol: _ZN…nsportEv
    

    which is happening after purging, readding netxms.

    Any advice?

    Thank you 🙂

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Can you show output of "ldd /usr/bin/nxagend", please?

      1 Reply Last reply
      0
      • P
        P
        Michal Hanajik
        wrote on last edited by
        #3

        yes,

        sorry for late reply 😞

        sudo ldd /usr/bin/nxagentd
                linux-vdso.so.1 (0x00007ffff21d9000)
                libappagent.so.2 => /usr/local/lib/libappagent.so.2 (0x00007f218d4e4000)
                libnxagent.so.2 => /usr/local/lib/libnxagent.so.2 (0x00007f218d2dd000)
                libnxdb.so.2 => /usr/local/lib/libnxdb.so.2 (0x00007f218d0cd000)
                libnetxms.so.2 => /usr/local/lib/libnetxms.so.2 (0x00007f218ce44000)
                libnxsnmp.so.2 => /usr/local/lib/libnxsnmp.so.2 (0x00007f218cc2f000)
                libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f218ca03000)
                libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f218c7e9000)
                libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f218c5d2000)
                libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f218c3ce000)
                libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f218c1b1000)
                libssl.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 (0x00007f218bf48000)
                libcrypto.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2 (0x00007f218bae2000)
                libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f218b760000)
                libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f218b45c000)
                libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f218b245000)
                libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f218aea6000)
                libnxexpat.so.2 => /usr/local/lib/libnxexpat.so.2 (0x00007f218ac82000)
                libnxtre.so.5 => /usr/local/lib/libnxtre.so.5 (0x00007f218aa70000)
                libnxjansson.so.4 => /usr/local/lib/libnxjansson.so.4 (0x00007f218a864000)
                /lib64/ld-linux-x86-64.so.2 (0x000055aabb747000)
        
        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #4

          You have leftover libraries in /usr/local/lib which clash with package libs in /usr/lib/x86_64-linux-gnu/

          Cleanup /usr/local/lib and issue should be resolved .

          1 Reply Last reply
          0
          • P
            P
            Michal Hanajik
            wrote on last edited by
            #5

            Thank worked...

            Just to be clear, I run command sudo find /usr/local/lib -name "*ne*" -exec rm rf {} \; && sudo find /usr/local/lib -name "*nx*" -exec rm rf {} \; ...

            Don't do that without checking what you delete 🙂

            Thanks for pointing out by Victor Kirhenshtein

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #6

              Hi,

              most of libraries have prefix nx (like libnxagent), so searching only for "ne" may not be enough. I suggest to check with ldd that agent didn't pickup any "nx" prefixed library from /usr/local/lib.

              Best regards,
              Victor

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups