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. v2.0-M5 & PostgreSQL

v2.0-M5 & PostgreSQL

Scheduled Pinned Locked Moved Support
14 Posts 2 Posters 97.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.
  • L
    L
    lindeamon
    wrote on last edited by
    #1

    hi,

    i am installing v2.0-m5 on centos with pgsql v9.1 and when trying to do nxdbmgr upgrade i get an error "error while loading shared libraries: libnxexpat.so.1: cannot open shared object file: no such file or directory"

    older versions works fine.

    10x,
    Lindeamon

    1 Reply Last reply
    0
    • L
      L
      lindeamon
      wrote on last edited by
      #2

      i have tried reinstalling and this time i have enabled logging and this file can not be found even in the make install phase.

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

        Hi,

        try to add configuration option --with-internal-libexpat when you run configure.

        Best regards,
        Victor

        1 Reply Last reply
        0
        • L
          L
          lindeamon
          wrote on last edited by
          #4

          hi victor,

          did not help, getting the same error

          Best Regards,
          Lindeamon

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

            Can you please send me config.log and output of command

            ldd /path/to/nxdbmgr

            Best regards,
            Victor

            1 Reply Last reply
            0
            • L
              L
              lindeamon
              wrote on last edited by
              #6

              hi victor,

              can you tell me where do i find this config.log ?
              do you want the config.log of the m5 ?
              i have downgraded to m1 so i will need to upgrade again.

              Best Regards,
              Lindeamon

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

                When you run configure it will create config.log in same directory. Yes, I need it from M5.

                Best regards,
                Victor

                1 Reply Last reply
                0
                • L
                  L
                  lindeamon
                  wrote on last edited by
                  #8

                  Hi Victor,

                  attached the files that you wanted.

                  Best Regards,
                  Lindeamon


                  netxms_m5_config.log

                  netxms_m5_ldd.txt

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

                    Hi,

                    it seems to be some strange mix of different library versions (*.so.1 and *.so.2). Try to delete all libraries from /opt/netxms/lib, run make clean and then make and make install again.

                    Best regards,
                    Victor

                    1 Reply Last reply
                    0
                    • L
                      L
                      lindeamon
                      wrote on last edited by
                      #10

                      hi victor,

                      before i do an upgrade, i delete the /opt/netxms folder completely and i "tar -zxf..." from scratch, do i still have to perform the "make clean" ?
                      i have been doing this process for the past 10 versions and never had problems like this.

                      Best Regards,
                      Lindeamon

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

                        Hi,

                        if you delete /opt/netxms completely then it should not be an issue. Still it looks like older library somewhere. Can you please check if there are libnetxms.so.1 left somewhere?

                        Best regards,
                        Victor

                        1 Reply Last reply
                        0
                        • L
                          L
                          lindeamon
                          wrote on last edited by
                          #12

                          hi victor,

                          i have reinstalled M5 and searched for the "libnxexpat.so.1" and found it under /usr/local/lib.
                          i have tried loooking for this file in the /opt/netxms dir and could not find it.
                          maybe soft links weren't created ?
                          when i finish the "make" it says that i have 1 error with "recursive", maybe that will give you a clue.

                          Best Regards,
                          Lindeamon

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

                            Hi,

                            it seems that at some point you forgot to specify prefix to configure and it installs binaries and libraries into default location (/usr/local). You can safely delete all netxms libraries from /usr/local/lib - then 2.0-M5 should work without problems.

                            Best regards,
                            Victor

                            1 Reply Last reply
                            0
                            • L
                              L
                              lindeamon
                              wrote on last edited by
                              #14

                              Hi Victor,

                              worked like a charm

                              Best Regards,
                              Lindeamon

                              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