QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1102|回复: 1

求助!mysql安装问题,在线等!!!!!

[复制链接]
发表于 2004-6-15 21:48:00 | 显示全部楼层 |阅读模式
安装mysql不上,总是提示
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so( manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/mysql/libmysql'
make[1]: Leaving directory `/usr/local/mysql/libmysql'
Making install in client
make[1]: Entering directory `/usr/local/mysql/client'
/bin/sh ../libtool --mode=link c++  -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysql  mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a -lncurses ../libmysql/libmysqlclient.la -lz -lcrypt -lnsl -lm
c++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a -lncurses ../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lnsl -lm -lz -lcrypt -lnsl -lm -Wl,--rpath -Wl,/usr/local/mysql3/lib/mysql
mysql.o(.text+0x185b): In function `com_source(String*, char*)':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[1]: *** [mysql] Error 1
make[1]: Leaving directory `/usr/local/mysql/client'
make: *** [install-recursive] Error 1
我的是rh9.请高手帮忙!!!
 楼主| 发表于 2004-6-15 21:51:38 | 显示全部楼层
mysql_install_db
/usr/local/bin/mysql_install_db: line 1: my_print_defaults: command not found
Didn't find /usr/local/libexec/mysqld
You should do a 'make install' before executing this script
还有就是这个错误,
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 05:13 , Processed in 0.041470 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表