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. error while loading shared libraries: libnetxms.so.1

error while loading shared libraries: libnetxms.so.1

Scheduled Pinned Locked Moved Support
7 Posts 5 Posters 48.0k 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.
  • F
    F
    forced-inductn
    wrote on last edited by
    #1

    I am compiling from source, and when I run make install I get:

    root@kr3at0r:~# /usr/local/bin/nxmibc -d /usr/local/share/netxms/mibs/ -o /usr/local/share/netxms/mibs/netxms.mib
    /usr/local/bin/nxmibc: error while loading shared libraries: libnetxms.so.1: cannot open shared object file: No such file or directory

    It does exist on disk:
    root@kr3at0r:~# find / -name libnetxms.so.1                                   
    /usr/local/lib/libnetxms.so.1
    /root/netxms-1.1.7/src/libnetxms/.libs/libnetxms.so.1

    Any ideas?

    I have tried both stable and unstable
    1.0.13
    1.1.7

    This is on ubuntu 10.04 x64

    --Forced

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

      Hi!

      Try to add /usr/local/lib to /etc/ld.so.conf, run ldconfig, and then try make install again.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • F
        F
        forced-inductn
        wrote on last edited by
        #3

        Thanks! that worked 🙂 but now I am getting this error:

        RAPID-CITY-BAY-STACK: ERROR 001: Import symbol "rcBayStack" unresolved
        make[3]: *** [install-exec-hook] Error 1
        make[3]: Leaving directory `/tmp/netxms-1.0.13'
        make[2]: *** [install-exec-am] Error 2
        make[2]: Leaving directory `/tmp/netxms-1.0.13'
        make[1]: *** [install-am] Error 2
        make[1]: Leaving directory `/tmp/netxms-1.0.13'
        make: *** [install-recursive] Error 1

        Any ideas?

        --Forced

        1 Reply Last reply
        0
        • M
          M
          Mariposa
          wrote on last edited by
          #4

          Hi  🙂
          I have the same problem as you, and I've done what Victor said.
          Had the same error as you, but I ignored it and repeated command
          /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbiit_mysql.sql

          and now I have other error :
          NetXMS Database Manager Version 1.0.13

          Initializing database...
          ERROR: Cannot load SQL command file /usr/local/share/netxms/sql/dbiit_mysql.sql
          Database initialization failed

          Any idea? please heeeeelp  🙂 Thank you!

          1 Reply Last reply
          0
          • M
            M
            Mariposa
            wrote on last edited by
            #5

            I just solve the problem, thanks anyway 😉

            Forced this is what I have done :

            1. go to /etc/ld.so.conf.d/libc.conf and check if it contains line "/usr/local/lib", if not, add it
            2. run "ldconfig" as root (it will produce no output)
            3. After that run "ldconfig -p|grep libnetxms" to verify (it will have output)
            4. run /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql
            5. it will work and now you can run agent and server 🙂
            1 Reply Last reply
            0
            • AnRkeyA
              AnRkeyA
              AnRkey
              wrote on last edited by
              #6

              @mariposa said in error while loading shared libraries: libnetxms.so.1:

              I just solve the problem, thanks anyway 😉

              Forced this is what I have done :

              1. go to /etc/ld.so.conf.d/libc.conf and check if it contains line "/usr/local/lib", if not, add it
              2. run "ldconfig" as root (it will produce no output)
              3. After that run "ldconfig -p|grep libnetxms" to verify (it will have output)
              4. run /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql
              5. it will work and now you can run agent and server 🙂

              Thanks, this fixed me up right away 😄

              1 Reply Last reply
              0
              • A
                A
                arnisraido
                wrote on last edited by
                #7

                @anrkey said in error while loading shared libraries: libnetxms.so.1:

                @mariposa said in error while loading shared libraries: libnetxms.so.1:

                I just solve the problem, thanks anyway 😉

                Forced this is what I have done :

                1. go to /etc/ld.so.conf.d/libc.conf and check if it contains line "/usr/local/lib", if not, add it
                2. run "ldconfig" as root (it will produce no output)
                3. After that run "ldconfig -p|grep libnetxms" to verify (it will have output)
                4. run /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql
                5. it will work and now you can run agent and server 🙂

                Thanks, this fixed me up right away 😄

                Thanks! Helped for me also!

                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