>>>>> "Alex" == Alex Osipov <alex@stripped> writes:
Alex> I removed all the -ldl's and -lm's, and also did undef in the config.h for those
Alex> options, but still got the same error, -lm cannot be found when compiling the
Alex> client and the server gave the -ldl not found. BTW, this machine has bsdi 4.1
Alex> and all patches for it.
Alex> Alex Osipov
Please repost with the make output; If you get the same output, you
didn't remove all -ldl and -lm:s!
Another option is to configure with:
CC=gcc CXX=gcc CXXFLAGS="-O6 -felide-constructors -fno-exceptions -fno-rtti" ./configure
--prefix=/usr/local/mysql --with-mysqld-ldflags=-all-static --disable-shared
Does the above work better?