You can see the configure options using the mysqlbug command-line utility.
In your shell type mysqlbug and you'll see a template e-mail for bug submission.
At the bottom end of that e-mail you can see the configure line with all the options your copy of MySQL was compiled with.
It won't get you exactly what you asked for, but you can check if a binary is statically linked or not (and if it is dynamically linked, what libraries it is linked against) with ldd.
When the binary is dynamically linked, the output looks similar to this:
You can see the configure options using the
mysqlbug
command-line utility.In your shell type
mysqlbug
and you'll see a template e-mail for bug submission.At the bottom end of that e-mail you can see the configure line with all the options your copy of MySQL was compiled with.
The
--with-mysqld-ldflags
is omitted by default and it means the server will be compiled dynamically.http://dev.mysql.com/doc/refman/5.0/en/configure-options.html
It won't get you exactly what you asked for, but you can check if a binary is statically linked or not (and if it is dynamically linked, what libraries it is linked against) with
ldd
.When the binary is dynamically linked, the output looks similar to this:
... and on a statically linked binary, like this:
Which version of Linux? The details will be in the source package.
For Debian/Ubuntu based you can get the source package with
apt-get source packagename
. Then look at the debian/rules script that runs the build.When I run ldd I get this:
Does it mean mysqld is statically linked??