Bug #11811 | mysql_config on windows points to wrong locations | ||
---|---|---|---|
Submitted: | 8 Jul 2005 12:34 | Modified: | 12 Jul 2005 3:48 |
Reporter: | Jan Kneschke | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.7 | OS: | Windows (windows) |
Assigned to: | CPU Architecture: | Any |
[8 Jul 2005 12:34]
Jan Kneschke
[8 Jul 2005 16:38]
MySQL Verification Team
Are you tried to use?: CFG=/path/mysql_config and sh -c "gcc -o progname `$CFG --cflags` progname.c `$CFG --libs`"
[11 Jul 2005 9:59]
Jan Kneschke
No need to compile it, just do a $ /path/mysql_config --libs -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm $ /path/mysql_config --cflags -I/usr/local/include/mysql
[12 Jul 2005 3:47]
Jorge del Conde
I was able to reproduce this behaviour using cygwin.