stoneatom / stonedb

StoneDB is an Open-Source MySQL HTAP and MySQL-Native DataBase for OLTP, Real-Time Analytics, a counterpart of MySQLHeatWave. (https://stonedb.io)
https://stonedb.io/
GNU General Public License v2.0
866 stars 141 forks source link

bug: 5.7 compile error #1968

Closed shawn0915 closed 9 months ago

shawn0915 commented 1 year ago

Have you read the Contributing Guidelines on issues?

Please confirm if bug report does NOT exists already ?

Describe the problem

Consolidate compiler generated dependencies of target mysqld
[100%] Linking CXX executable mysqld
/bin/ld: ../archive_output_directory/libtianmu.a(merge_operator.cpp.o):(.data.rel.ro._ZTIN6Tianmu4core19RecordMergeOperatorE[_ZTIN6Tianmu4core19RecordMergeOperatorE]+0x10): undefined reference to `typeinfo for rocksdb::AssociativeMergeOperator'
collect2: error: ld returned 1 exit status
make[2]: *** [sql/CMakeFiles/mysqld.dir/build.make:129: sql/mysqld] Error 1
make[1]: *** [CMakeFiles/Makefile2:5589: sql/CMakeFiles/mysqld.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
[shawnyan@rocky9 release]$

Expected behavior

No response

How To Reproduce

No response

Environment

No response

Are you interested in submitting a PR to solve the problem?

Nliver commented 1 year ago

@shawn0915 What is your deployment environment? Could you please provide more information?