红联Linux门户
Linux帮助

安装mysql 时出错:请指教!

发布时间:2011-05-19 14:01:12来源:红联作者:interliuxing
操作系统:fedora 10
数据库:mysql5.1.55
错误提示:
./factorial 1 2 3 4 5 | cat > output1.r
./factorial -\#t:o 2 3 | cat >output2.r
./factorial -\#d:t:o 3 | cat >output3.r
./factorial -\#d,result:o 4 | cat >output4.r
./factorial -\#d:f,factorial:F:L:o 3 | cat >output5.r
nroff -mm user.r > user.t
groff -mm user.r > user.ps
make[1]: Leaving directory `/root/mysql-5.1.55/dbug'
Making all in extra
make[1]: Entering directory `/root/mysql-5.1.55/extra'
make all-recursive
make[2]: Entering directory `/root/mysql-5.1.55/extra'
make[3]: Entering directory `/root/mysql-5.1.55/extra'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql -g -O2 -DUNIV_LINUX -MT replace.o -MD -MP -MF .deps/replace.Tpo -c -o replace.o replace.c
mv -f .deps/replace.Tpo .deps/replace.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -g -O2 -DUNIV_LINUX -rdynamic -o replace replace.o -all-static ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
libtool: link: gcc -g -O2 -DUNIV_LINUX -rdynamic -o replace replace.o -static ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [replace] 错误 1
make[3]: Leaving directory `/root/mysql-5.1.55/extra'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/mysql-5.1.55/extra'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/mysql-5.1.55/extra'
make: *** [all-recursive] 错误 1
文章评论

共有 6 条评论

  1. stevenst 于 2011-08-02 17:18:26发表:

    这种make&&install的实在是不会,还不如直接下载个rpm包安装比较实在。

  2. pclwxm 于 2011-08-02 09:46:15发表:

    这种错误很郁闷的

  3. ?雷 于 2011-07-17 17:08:52发表:

    源代码编译的,可以不管的,不会有什么大的问题的,在./configure选项里添加一些才不会有呢种错误的

  4. 124311897 于 2011-06-02 09:36:03发表:

    俺安装mysql时也出现问题 同求答案

  5. chen4u 于 2011-06-01 22:17:44发表:

    达人都到哪去了?
    水下长时间潜伏会憋出问题的罗

  6. rootlinenic 于 2011-05-31 16:47:51发表:

    不懂,飘过。。。。。。。。。。