求助!mysql安装问题,在线等!!!!!
安装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(8) manual pages.
----------------------------------------------------------------------
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/usr/local/mysql/libmysql'
make: Leaving directory `/usr/local/mysql/libmysql'
Making install in client
make: Entering directory `/usr/local/mysql/client'
/bin/sh ../libtool --mode=link c++-O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysqlmysql.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: *** Error 1
make: Leaving directory `/usr/local/mysql/client'
make: *** Error 1
我的是rh9.请高手帮忙!!! 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
还有就是这个错误,
页:
[1]