Bug #13522 libndbclient.so shoud be versioned
Submitted: 27 Sep 2005 14:00 Modified: 15 Feb 2007 9:05
Reporter: Christian Hammers (Silver Quality Contributor) (SCA)
Status: Closed
Category:Server: Cluster Severity:S4 (Feature request)
Version:4.1 and 5.0 and 5.1 OS:
Assigned to: Bugs System Target Version:
Triage: D5 (Feature request)

[27 Sep 2005 14:00] Christian Hammers
Description:
Hello

The ndb programs are currently dynamically linked against libndbclient.so.0. This library
is available in both MySQL 4.1 and 5.0 which makes it complicated for distributions who
like to ship 4.1 and 5.0 simultaneously.

How to repeat:
...

Suggested fix:
Please change the library soname to something different than in the 4.1 branch and update
this soname number whenever needed.
[11 Jan 2007 10:43] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/17915

ChangeSet@1.2599, 2007-01-11 01:42:55-08:00, mtaylor@qualinost.(none) +2 -0
  Adding support for versioned libndbclient.so. bug #13522
[11 Jan 2007 10:54] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/17918

ChangeSet@1.2363, 2007-01-11 01:54:33-08:00, mtaylor@qualinost.(none) +1 -0
  Incrementing NDB_SHARED_LIB_MAJOR_VERSION to 5. bug #13522
[18 Jan 2007 22:30] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/18385

ChangeSet@1.2607, 2007-01-18 13:30:01-08:00, mtaylor@qualinost.(none) +2 -0
  Adding support for versioned libndbclient.so. bug #13522
[19 Jan 2007 1:32] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/18406

ChangeSet@1.2413, 2007-01-18 16:31:43-08:00, mtaylor@qualinost.(none) +3 -0
  Add code to actually version the symbols in the library, and not just the library. bug
#13522
[19 Jan 2007 1:44] Monty Taylor
The last two patches committed are the real ones. The add versioning to the libraries and
to the symbols. I did a test build and checked the so with objdump -T and verified that
in fact, the symbols were versioned.
[14 Feb 2007 16:02] Chad MILLER
Available in 4.1.23, 5.0.36, and 5.1.16-beta.  I assume this should have been in "Patch
Queued" state.  Setting to "Documenting" now.
[15 Feb 2007 9:05] Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of
that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available
version, including the bug fix. More information about accessing the source trees is
available at

    http://dev.mysql.com/doc/en/installing-source.html

Documented fix in 4.1.23, 5.0.36, and 5.1.16 changelogs.