On 8/13/10 4:30 AM, Yuan Wang wrote:
> I recently found that if MySQL is built from source using
> BUILD/compile-pentium64-max, I could not create UDF in it. I checked
> the build script and found that --with-client-ldflags=-all-static is
> given is this situation, so UDF is disabled. Howver if it is built in
> DEBUG MODE using BUILD/compile-pentium64-debug-max, then UDF will be
BUILD/ scripts are mainly used for development and testing purposes, not
to build release binaries. For example, BUILD/compile-pentium64-max
builds the server with ndb support, which is commonly not needed.
> So, how could I build MySQL in RELEASE MODE with UDF support from source?
See documentation for "Building MySQL from Source":