mysql clients statically link libmysqlclient in
Bug #898340 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
mysql-5.5 (Ubuntu) |
Triaged
|
Medium
|
Clint Byrum |
Bug Description
mysql and mysqlcheck, and I suspect other binaries, are statically linked to libmysqlclient instead of being linked to the shared library.
Related branches
Changed in mysql-5.5 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → precise-alpha-2 |
Changed in mysql-5.5 (Ubuntu): | |
milestone: | precise-alpha-2 → ubuntu-12.04-beta-1 |
tags: | added: patch |
Changed in mysql-5.5 (Ubuntu): | |
milestone: | ubuntu-12.04-beta-1 → ubuntu-12.04-beta-2 |
Changed in mysql-5.5 (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in mysql-5.5 (Ubuntu): | |
milestone: | ubuntu-12.04-beta-2 → ubuntu-12.04 |
Changed in mysql-5.5 (Ubuntu): | |
milestone: | ubuntu-12.04 → none |
To post a comment you must log in.
Further investigation has revealed that upstream provides no way to do this since the switch to cmake.
I will attach a patch to client/ CMakeLists. txt which solves the issue and produces smaller, dynamically linked binaries.. but this needs to be pushed upstream.