Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL)
-
None
Description
-DPLUGIN_ROCKSDB=YES lead to an error in attempt to build static engine:
sql/libsql.a(sql_builtin.cc.o):(.data.rel+0x18): undefined reference to `builtin_maria_rocksdb_plugin'
|
collect2: error: ld returned 1 exit status
|
Workaround: say nothing about PLUGIN_ROCKSDB to cmake and it will build dynamic.
Even if we fix the CMake issue, there will be a problem that MyRocks' MTR commands assume that the plugin is built dynamically (they specify --plugin-load, do INSTALL SONAME, etc).
I think the fix is to disallow building of a static plugin, unless there is a real demand for it.