Log4cxx
  1. Log4cxx
  2. LOGCXX-163

liblog4cxx (svn 480882) does not link on Mac OS X 10.4

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Mac OS X 10.4
      gcc version 4.0.1 (Apple Computer, Inc. build 5363)

      Description

      Log4cxx build fails on Mac OS X 10.4 while linking the library. The reason is the build system trying to link a C++ lib using gcc instead of g++. As I don't know much about ant and cpptask, I've not been able to change/fix this. But a workaround is to add

      <syslibset libs="gcc_s.10.4" if="is-gcc"/>

      to the build.xml file. Of course, the if-tag should be more specific to select Mac OS X 10.4 (and above?) only.

      The correct fix would be to use g++ as linker for C++ libraries etc.

        Activity

        Hide
        Curt Arnold added a comment -

        Fixed sometime in the interim.

        Show
        Curt Arnold added a comment - Fixed sometime in the interim.

          People

          • Assignee:
            Curt Arnold
            Reporter:
            Enrik Berkhan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development