Is this can apply on Centos 7? I already try but not success. On Wednesday, March 21, 2012 at 6:29:05 AM UTC+8, Joshua Albright wrote: > > Hi, >> >> Has a fix or workaround been figured out for this issue? I'm trying to >> setup mysql support on Ubuntu 11.10. >> >> make[1]: Entering directory `/home/jya/ossec-hids-2.6/src/os_dbd' >> Compiling DB support with: >> gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" >> -DUSE_OPENSSL -DARGV0=\"ossec-dbd\" -DXML_VAR=\"var\" -DOSSECHIDS >> -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX >> -DUNIV_LINUX -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib -lmysqlclient >> -DDBD -DUMYSQL *.c ../config/lib_config.a ../shared/lib_shared.a >> ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-dbd >> /tmp/ccrMjMbc.o: In function `mysql_osdb_connect': >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:164: undefined reference to >> `mysql_init' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:178: undefined reference to >> `mysql_options' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:183: undefined reference to >> `mysql_options' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:186: undefined reference to >> `mysql_real_connect' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:189: undefined reference to >> `mysql_error' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:190: undefined reference to >> `mysql_close' >> /tmp/ccrMjMbc.o: In function `mysql_osdb_close': >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:204: undefined reference to >> `mysql_close' >> /tmp/ccrMjMbc.o: In function `mysql_osdb_query_insert': >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:215: undefined reference to >> `mysql_query' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:218: undefined reference to >> `mysql_error' >> /tmp/ccrMjMbc.o: In function `mysql_osdb_query_select': >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:240: undefined reference to >> `mysql_query' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:243: undefined reference to >> `mysql_error' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:250: undefined reference to >> `mysql_use_result' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:254: undefined reference to >> `mysql_error' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:261: undefined reference to >> `mysql_fetch_row' >> /home/jya/ossec-hids-2.6/src/os_dbd/db_op.c:268: undefined reference to >> `mysql_free_result' >> collect2: ld returned 1 exit status >> make[1]: *** [default] Error 1 >> make[1]: Leaving directory `/home/jya/ossec-hids-2.6/src/os_dbd' >> >> Error Making os_dbd >> make: *** [all] Error 1 >> >> Error 0x5. >> Building error. Unable to finish the installation. >> >> Thanks for your help! >> >> Thanks, >> >> Josh >> > >
-- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.