[MDEV-7561] Cannot compile CONNECT engine in CentOS 6 Created: 2015-02-08 Updated: 2015-02-10 Resolved: 2015-02-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.0.16 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Floren Munteanu | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 6 x86_64 |
||
| Description |
|
I tried to compile MariaDB 10.0.16 in CentOS and everything is OK except CONNECT plugin refuses to build. Is this related to the missing linux-vdso.so.1 library present in 3.x kernel or a specific ODBC version?
All other libraries are present in my build system.
As a side note, I noticed the /etc//my.cnf.d/oqgraph.cnf file does not exist by default. I had to create it manually during build time.
|
| Comments |
| Comment by Elena Stepanova [ 2015-02-08 ] |
|
Please paste the actual error you are getting. |
| Comment by Elena Stepanova [ 2015-02-10 ] |
|
Hi, With -DWITH_MAX=ON which you have among your cmake options, you have CONNECT engine linked statically. If you start the server and check SHOW ENGINES, it should already be there. |
| Comment by Floren Munteanu [ 2015-02-10 ] |
|
Hi Elena, Compiling without DWITH_MAX does address the issue, thank you for the fix. However, I miss the related configuration files (i.e. connect.cnf), they are not created by default. In your build, are they created by default? Thank you for helping me solve this issue. |
| Comment by Elena Stepanova [ 2015-02-10 ] |
|
To have it created, you should run cmake with -DRPM=centos6. |
| Comment by Floren Munteanu [ 2015-02-10 ] |
|
Thank you for the great support, everything is resolved. |