anyone else using WITH_MYSQL_VER=55m and having problems?

Vincent Hoffman vince at unsane.co.uk
Fri Oct 4 11:45:10 UTC 2013


I've opened a PR for apr1 but i'm thinking maybe it should be for mariadb55?
http://www.freebsd.org/cgi/query-pr.cgi?pr=182565

a working build (against mysql55) has

checking for mysql_config... /usr/local/bin/mysql_config
  adding "-lmysqlclient_r" to LDFLAGS
  adding "-pthread" to LDFLAGS
  adding "-lz" to LDFLAGS
  adding "-lm" to LDFLAGS
  setting LIBS to "-L/usr/local/lib/mysql -lmysqlclient_r  -pthread -lz -lm"
configure: checking for mysql in /usr/local
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient_r... yes
checking for my_global.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) yes
checking for my_sys.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) yes
  adding "-I/usr/local/include/mysql" to APRUTIL_PRIV_INCLUDES
  setting LDADD_dbd_mysql to "-L/usr/local/lib/mysql -lmysqlclient_r  -pthread -lz -lm -lmysqlclient_r -L/usr/local/lib/mysql -lmysqlclient_r  -pthread -lz -lm"


The failed build (with mariadb55)

checking for mysql_config... /usr/local/bin/mysql_config
  adding "-I/usr/local/include/mysql/.." to CPPFLAGS
  adding "-lmysqlclient_r" to LDFLAGS
  adding "-pthread" to LDFLAGS
  adding "-lz" to LDFLAGS
  adding "-lm" to LDFLAGS
  adding "-lexecinfo" to LDFLAGS
  setting LIBS to "-L/usr/local/lib/mysql -lmysqlclient_r  -pthread -lz -lm -lexecinfo"
configure: checking for mysql in /usr/local
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient_r... no
checking for my_global.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no
checking for my_sys.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no
checking for mysql/mysql.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no
checking for mysql/my_global.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no
checking for mysql/my_sys.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no

Thanks,
Vince


More information about the freebsd-ports mailing list