Ad Widget

Collapse

Install on SLES 11

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dupphil
    Junior Member
    • Aug 2009
    • 1

    #1

    Install on SLES 11

    Hi,

    I installed Apache2, MySQL, PHP5.
    When I want to execute :
    ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl

    I got this error :
    configure: error: Not found MySQL library

    MySQL is installed :
    zabbix:~ # rpm -q mysql
    mysql-5.0.67-13.15

    In another post, the solution was to install mysql devel library.
    But in Sles 11, I don't find it!

    Could you help me ?
    Thank you,
    Philippe
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Can you find it using zypper (root console)? # zypper search mysql-devel

    If not you may have to add a repository which has it. That last SLES I played with was 10 and there were no issues, and it works well on OpenSuSE 11.1.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • badener
      Member
      • Sep 2009
      • 42

      #3
      try looking for rpms libmysqlclient and libmysqlclient-devel, not sure whether you'll need both as I always compile mysql from source

      Comment

      • Caleb14
        Junior Member
        • Feb 2009
        • 7

        #4
        zypper in mysql-devel

        That should install libmysqlclient-devel, which provides mysql-devel. Al least on OpenSUSE 11.1.

        Comment

        • patrickburwell
          Junior Member
          • Aug 2012
          • 3

          #5
          SLES10 zabbix_agentd on SLES11

          Originally posted by nelsonab
          Can you find it using zypper (root console)? # zypper search mysql-devel

          If not you may have to add a repository which has it. That last SLES I played with was 10 and there were no issues, and it works well on OpenSuSE 11.1.
          THANK YOU! Worked great!

          Comment

          Working...