Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-512

cmake and autotools generate different versioned binaries

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When building log4cxx, using cmake results in a library like the following:

      liblog4cxx.so.0.11.0

      However, when building with autotools, the binary is the following:

      liblog4cxx.so.10.0.0
      

      Things to do:

      1. Fix the cmake build to do the same as autotools for consistency.
      2. (optional) remove autotools so we don't have this problem in the future.
      3. (optional) If we're not removing autotools, fix the so versioning.

       

      See also: https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html

        Attachments

          Activity

            People

            • Assignee:
              rmiddleton Robert Middleton
              Reporter:
              rmiddleton Robert Middleton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: