Details
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.
Attachments
Issue Links
- is duplicated by
-
LOGCXX-327 link error: undefined reference to `apr_os_locale_encoding' using '--with-charset=utf-8'
- Resolved