Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.0.2
-
None
Description
After install MariaDB 10.2 (after installing the custom repo), the following satisfy the cmake dependencies:
yum install MariaDB-client MariaDB-server MariaDB-devel unixODBC
However link failures happen if you run cmake then make. For this to build the following is needed:
- cmake -DWITH_OPENSSL=on
- modify tests/CMakeLists.txt to add z as a lib dep: SET(PLATFORM_DEPENDENCIES ${PLATFORM_DEPENDENCIES} "pthread" "dl" "z")
I'd suggest make WITH_OPENSSL=on the default setting since this is what we build with and fix the test cmake file.
Attachments
Issue Links
- is caused by
-
ODBC-136 Make Connector/C a git sub-project
-
- Closed
-
Activity
Component/s | General [ 14302 ] | |
Fix Version/s | 2.0.17 [ 23002 ] | |
Fix Version/s | 3.0.5 [ 23107 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 84140 ] | MariaDB v4 [ 128584 ] |
I guess that(z dependency) is because those packages install client library from server. I usually... well, always build using Connector/C, and it does not require -lz
mariadb_config --libs
-L/usr/local/lib/mariadb/ -lmariadb -lpthread -ldl -lm -liconv -liconv