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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Build
    • None
    • 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.

      Attachments

        Activity

          People

            carnold@apache.org Curt Arnold
            enrik Enrik Berkhan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: