Got errors on building MySQL 5.5.11 undel RHEL6
Posted by:
Allen KOO
Date: April 22, 2011 01:05AM
OS:RHEL6
I follow these steps:
tar zxvf mysql-5.5.11.tar.gz
cd mysql-5.5.11
-------------------------------------------------
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr/local/webserver/mysql/ \
-DMYSQL_DATADIR=/data/mysql \
-DMYSQL_UNIX_ADDR=/data/mysql/mysqld.sock \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DMYSQL_TCP_PORT=3306 \
-DEXTRA_CHARSETS=all \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8-general_ci \
-DMYSQL_UNIX_ADDR=/data/mysql/mysql.sock \
-DMYSQL_USER=mysql \
-DWITH_DEBUG=0
make
make install
---------------------------------------------------
Errors on [make]
Linking CXX shared library libmysqlclient.so
CMake Error: cmake_symlink_library: System Error: Protocol error
CMake Error: cmake_symlink_library: System Error: Protocol error
gmake[2]: *** [libmysql/libmysqlclient.so.18.0.0] Error 1
gmake[1]: *** [libmysql/CMakeFiles/libmysql.dir/all] Error 2
gmake: *** [all] Error 2
How to resolve it?
Edited 1 time(s). Last edit at 04/22/2011 01:06AM by Allen KOO.
Subject
Views
Written By
Posted
Got errors on building MySQL 5.5.11 undel RHEL6
5869
April 22, 2011 01:05AM
2501
April 23, 2011 02:31AM
1999
April 23, 2011 08:11AM
2664
April 23, 2011 11:34PM
1787
April 29, 2011 09:09PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.