如何链接静态jemalloc for mysql5.5

时间:2014-01-02 07:02:08

标签: mysql

我想为oracle mysql5.5链接静态jemalloc库。如果是mysql5.1,我可以这样做:

LDFLAGS=” -lrt -ljemalloc -lstdc++ ” 
./configure –prefix=/usr/soft/install/mysql  \
–with-mysqld-user=mysql \
–with-plugins=partition,blackhole,csv,heap,innobase,myisam,myisammrg \
–with-charset=utf8 \
–with-collation=utf8_general_ci \
–with-extra-charsets=gbk,gb2312,utf8,ascii \
–with-big-tables \
–with-fast-mutexes \
–with-zlib-dir=bundled \
–enable-assembler \
–enable-profiling \
–enable-local-infile \
–enable-thread-safe-client \
–with-readline \
–with-pthread \
–with-embedded-server \
–with-mysqld-ldflags=-all-static \
–without-query-cache \
–without-geometry \
–without-debug \
–without-ndb-debug
make && make install

但我在mysql5.5中找不到cmake的选项。 我该怎么办?

0 个答案:

没有答案