polardbx-engine icon indicating copy to clipboard operation
polardbx-engine copied to clipboard

compiling failed according to development doc

Open demian0110 opened this issue 2 years ago • 4 comments

Complile GalaxyEngine according to https://github.com/ApsaraDB/galaxysql/blob/main/docs/en/quickstart-development.md. got some errors when running cmake and make. cmake .
-DFORCE_INSOURCE_BUILD=ON
-DWITH_DEBUG=ON
-DSYSCONFDIR="/u01/mysql"
-DCMAKE_INSTALL_PREFIX="/u01/mysql"
-DMYSQL_DATADIR="/u01/mysql/data"
-DWITH_XENGINE_STORAGE_ENGINE=OFF
-DWITH_BOOST="./extra/boost/boost_1_70_0.tar.gz"

image image

demian0110 avatar Jun 24 '22 01:06 demian0110

It needs OpenSSL library. If your system is Debian or ubuntu, the version of OpenSSL should be 1.0.2.

songleiwang avatar Jun 24 '22 08:06 songleiwang

我也遇到相同问题,系统是centos7的 ,已经yum install openssl-devel ,还是这个错误, 之后 安装编译了 extra/openssl-1.1.0l/ 自带的openssl a 安装到 /usr/local/openssl-1.1.0l/, cmake的是 添加 -DWITH_SSL=”/usr/local/openssl-1.1.0l/“ 结果还是一样。郁闷

triumph avatar Sep 27 '22 03:09 triumph

It needs OpenSSL library. If your system is Debian or ubuntu, the version of OpenSSL should be 1.0.2.

I try to install OpenSSL 1.0.2, but the same error occurs as @demian0110

remones avatar Oct 11 '22 12:10 remones

It needs OpenSSL library. If your system is Debian or ubuntu, the version of OpenSSL should be 1.0.2.

I try to install OpenSSL 1.0.2, but the same error occurs as @demian0110

remones avatar Oct 11 '22 12:10 remones