MySQL Forums
Forum List  »  Source, Builds, Binaries

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.

Options: ReplyQuote


Subject
Views
Written By
Posted
Got errors on building MySQL 5.5.11 undel RHEL6
5799
April 22, 2011 01:05AM


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.