Static build fails on FreeBSD
MySQL database connector for Python programming
Brought to you by:
adustman
In setup_posix.py, the first entry in library_dirs is used to find libmysqlcilent.a:
if static:
extra_objects.append(os.path.join(
library_dirs[0],'lib%s.a' % client))
but mysql_config --libs returns:
-L/usr/local/lib -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm
causing non-existent /usr/local/lib/libmysqlcilent.a to be picked up instead of /usr/local/lib/mysql/libmysqlclient.a