Ad Widget

Collapse

error: Not found mysqlclient library

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trumpfit
    Junior Member
    • Oct 2010
    • 1

    #1

    error: Not found mysqlclient library

    Hello altogether,

    I'm new with zabbix and I'm not sure wether I'm right here. So, please, forgive me if I'm not...

    I try to compile zabbix with following statement:

    ./configure --enable-server --with-mysql=/opt/webstack/mysql/5.1/bin/mysql_config --with-net-snmp --with-jabber --with-libcurl
    The result is:

    [...]
    checking for asprintf... no
    checking for vsnprintf... yes
    checking for hstrerror... yes
    checking for getopt_long... yes
    checking for strcasestr... no
    checking for getenv... yes
    checking for putenv... yes
    checking for -rdynamic linking option... no
    checking if Oracle support is enabled... no
    checking for mysql_config... /opt/webstack/mysql/5.1/bin/mysql_config
    checking for main in -lmysqlclient ... no
    configure: error: Not found mysqlclient library


    I don't find any hint within the config.log about this error

    -bash-3.00# grep -i mysql config.log
    $ ./configure --enable-server --with-mysql=/opt/webstack/mysql/5.1/bin/mysql_config --with-net-snmp --with-jabber --with-libcurl
    PATH: /opt/webstack/mysql/5.1/bin
    configure:10094: checking for mysql_config
    configure:10125: result: /opt/webstack/mysql/5.1/bin/mysql_config
    configure:10240: checking for main in -lmysqlclient
    configure:10269: gcc -o conftest -g -O2 -I/opt/webstack/mysql/5.1/include/mysql -xarch=386 -xchip=pentium -xspace -xs -xildoff -xc99=all -xnorunpath -m32 -I/usr/sfw/include -I/brigade/workspace/webstack1.5/label/solaris-i586-sws14/mysql51/../wslibs/misc -DHAVE_RWLOCK_T -DUNIV_SOLARIS -DBIG_TABLES -L/opt/webstack/mysql/5.1/lib/mysql conftest.c -lmysqlclient -lkvm -lm -lnsl -lkstat -lsocket -lresolv >&5
    configure:10301: error: Not found mysqlclient library


    Is anybody able to help?

    Many thanks
    Anja
  • andreazza
    Junior Member
    Zabbix Certified Specialist
    • Jul 2011
    • 16

    #2
    if you still have this issue, read this link

    Comment

Working...