You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by "Thorsten Schöning (JIRA)" <lo...@logging.apache.org> on 2014/02/09 19:46:20 UTC

[jira] [Resolved] (LOGCXX-326) link error: undefined reference to `apr_os_locale_encoding' using --with-charset=utf-8

     [ https://issues.apache.org/jira/browse/LOGCXX-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Schöning resolved LOGCXX-326.
--------------------------------------

    Resolution: Fixed

LOGCXX-424 should have fixed this on trunk I guess.

> link error: undefined reference to `apr_os_locale_encoding' using --with-charset=utf-8
> --------------------------------------------------------------------------------------
>
>                 Key: LOGCXX-326
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-326
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.10.0
>         Environment: ubuntu 8.04
> gcc 4.2.3
> g++ 4.2.3
>            Reporter: YangNing
>            Assignee: Curt Arnold
>             Fix For: 0.10.0
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)