Ad Widget

Collapse

1.3.6 mysql compile problems (also trunk, 1.3.5)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • liedekef
    Junior Member
    • May 2005
    • 10

    #1

    1.3.6 mysql compile problems (also trunk, 1.3.5)

    In the latest beta version (1.3.6) and trunk, mysql compilation fails on fedora because the mysql libs are in /usr/lib/mysql and the "-L" is missing when compiling. I solved this by executing in the file "configure" the part containing
    _full_libmysql_libs="`$MYSQL_CONFIG --libs`"
    wether or not the enable_static flag is set.
    Btw: 1.1.7 doesn't have this problem, since they set the include and lib dirs manually in the configure file, instead of using mysql_config for this.

    Franky
  • Farzad FARID
    Member
    • Apr 2007
    • 79

    #2
    Originally posted by liedekef
    In the latest beta version (1.3.6) and trunk, mysql compilation fails on fedora because the mysql libs are in /usr/lib/mysql and the "-L" is missing when compiling. I solved this by executing in the file "configure" the part containing
    _full_libmysql_libs="`$MYSQL_CONFIG --libs`"
    wether or not the enable_static flag is set.
    Btw: 1.1.7 doesn't have this problem, since they set the include and lib dirs manually in the configure file, instead of using mysql_config for this.

    Franky
    Hi,

    I made a patch, posted in the "Zabbix Patches" forum: http://www.zabbix.com/forum/showthread.php?t=5938 . To use it you need to regenerate the "configure" file. The "go" script available in the subversion branch does it like this:

    Code:
    aclocal -I m4
    autoconf
    autoheader
    automake -a
    automake

    Comment

    Working...