Log4cxx
  1. Log4cxx
  2. LOGCXX-326

link error: undefined reference to `apr_os_locale_encoding' using --with-charset=utf-8

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Tests
    • Labels:
      None
    • Environment:
      ubuntu 8.04
      gcc 4.2.3
      g++ 4.2.3

      Description

      I build log4cxx:
      ./configure --with-charset=utf-8
      make
      make install

      build liblog4cxx.a OK.

      When I use t liblog4cxx.a to test, compile failed. Link error:
      /home/yangning/myproject/log4cxx/apr-util-1.3.4/xlate/xlate.c 75 undefined reference to `apr_os_locale_encoding'
      /home/yangning/myproject/log4cxx/apr-util-1.3.4/xlate/xlate.c 72 undefined reference to `apr_os_default_encoding'

      If I build log4cxx without '--with-charset=utf-8',it work OK.

        Issue Links

          Activity

          YangNing created issue -
          Thorsten Schöning made changes -
          Field Original Value New Value
          Link This issue is duplicated by LOGCXX-327 [ LOGCXX-327 ]
          Thorsten Schöning made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Curt Arnold
              Reporter:
              YangNing
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 72h
                72h
                Remaining:
                Remaining Estimate - 72h
                72h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development