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. configure error when install on red hat

configure error when install on red hat

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 49.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.
  • Y
    Y
    yuyang0571
    wrote on last edited by
    #1

    Hi,
    when I run "sh ./configure  --with-server --with-mysql --with-agent",It stoped at
    "checking for mysql_init in -lmysqlclient... no
    configure: error: libmysqlclient is requred for MySQL support
    "
    and from config.log,
    #cat config.log |grep libmysqlclient
    /usr/lib64/mysql/libmysqlclient.a(libtaocrypt_la-dh.o)(.text+0x5c): In function `TaoCrypt::(anonymous namespace)::DiscreteLogWorkFactor(unsigned int)':
    /usr/lib64/mysql/libmysqlclient.a(libtaocrypt_la-dh.o)(.text+0x74):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/extra/yassl/taocrypt/src/dh.cpp:39: undefined reference to `log'
    /usr/lib64/mysql/libmysqlclient.a(libtaocrypt_la-dh.o)(.text+0x81):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/extra/yassl/taocrypt/src/dh.cpp:39: undefined reference to `pow'
    /usr/lib64/mysql/libmysqlclient.a(libmysql.o)(.text+0x3e61): In function `fetch_float_with_conversion':
    /usr/lib64/mysql/libmysqlclient.a(libmysql.o)(.text+0x3f4b):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/libmysql/libmysql.c:3747: undefined reference to `floor'
    /usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x26d): In function `scramble_323':
    /usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x295):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/libmysql/password.c:199: undefined reference to `floor'
    /usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x35a): In function `check_scramble_323':
    /usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x3bf):/export/home/my/tmp-200906161149-5.1.36-18189/rpm/BUILD/mysql-5.1.36/libmysql/password.c:242: more undefined references to `floor' follow
    configure:28877: error: libmysqlclient is requred for MySQL support

    what' wrong is there?
    my environment:redhat As4,mysql (64bit) .

    thank you for your help.

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

      Try this:

      LDFLAGS=-lm ./configure  --with-server --with-mysql --with-agent
      
      1 Reply Last reply
      0
      • Y
        Y
        yuyang0571
        wrote on last edited by
        #3

        thank Alex.It worked.

        why is LDFLAGS=-lm needed?

        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