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. CentOS default install fails mysql and postgres

CentOS default install fails mysql and postgres

Scheduled Pinned Locked Moved Support
5 Posts 3 Posters 13.3k 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.
  • J
    J
    jman
    wrote on last edited by
    #1

    After a default install of CentOS with both mysql and postgres and libs netxms fails on both. Postgres: checking for floor in -lm... yes
    checking for PQconnectdb in -lpq... no
    configure: error: libpq is required for PostgreSQL support

    Fails
    Mysql:checking for mysql_init in -lmysqlclient... yes
    checking whether mysql clients can run... no
    configure: error: Your MySQL client libraries aren't properly installed
    Fails.
    I have read many posts previously submitted and have not been able to get past either failure. Is there a but in the install or me? It has been some time since I have slept so I am willing to concede.

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

      Problem with MySQL is already known, and I'll fix it in rc2. In the meantime, you could try to prefix ./configure with LDFLAGS=-lmysqlclient, like this:

      LDFLAGS=-lmysqlclient ./configure --with-server --with-mysql

      Nobody reports PostgreSQL problem so far. Could you please post config.log from failed PostgreSQL configuration?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • J
        J
        jman
        wrote on last edited by
        #3

        That worked V! Thanks. I am on a different machine tho. I will get the postgres info poss. 3-4-10.

        J

        1 Reply Last reply
        0
        • A
          A
          aggie0642
          wrote on last edited by
          #4

          I am having the same problem with postgresql has this been resolved yet?

          Also when I try the LDFLAGS option I get :
          configure: error: C compiler cannot create executables

          I am also using CentOS but I don't have a lot of Unix/Linux experience so I might have messed something up

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

            Could you please post config.log here?

            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