[
https://issues.apache.org/jira/browse/LOGCXX-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thorsten Schöning resolved LOGCXX-327.
--------------------------------------
Resolution: Duplicate
This seems to be the same as LOGCXX-326.
> link error: undefined reference to `apr_os_locale_encoding' using
> '--with-charset=utf-8'
> -----------------------------------------------------------------------------------------
>
> Key: LOGCXX-327
> URL: https://issues.apache.org/jira/browse/LOGCXX-327
> Project: Log4cxx
> Issue Type: Bug
> Components: Build
> Affects Versions: 0.10.0
> Environment: ubuntu 8.04
> gcc 2.3.4
> g++ 2.3.4
> 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)