Bug #2288 | libmysqlclient requires -lm in gcc command | ||
---|---|---|---|
Submitted: | 5 Jan 2004 9:06 | Modified: | 5 Jan 2004 9:38 |
Reporter: | Barry Byrne | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.0.17 | OS: | sparc Solaris 8 |
Assigned to: | Dean Ellis | CPU Architecture: | Any |
[5 Jan 2004 9:06]
Barry Byrne
[5 Jan 2004 9:16]
Dean Ellis
Check mysql_config --libs to see that -lm is specified. If so, this is not a bug.
[5 Jan 2004 9:23]
Barry Byrne
I have now checked mysql_config bash-2.05$ mysql_config --libs -L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt -lgen -lsocket -lnsl -lm (as you predicted) Thanks for your quick response; what part of the documentation have I missed?
[5 Jan 2004 9:26]
Barry Byrne
Rhetorical question! 4.9.11
[5 Jan 2004 9:38]
Dean Ellis
Also 12.1.13 "Building Client Programs", which references this as well. It is easy to overlook.