When trying to compile some c++ code linked with the boost_locale library, it fails with the following error: % cat test.cpp int main() { return 0; } % g++ test.cpp -lboost_locale -o test /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../lib64/libboost_locale.so: undefined reference to `boost::locale::impl_icu::create_localization_backend()' /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../lib64/libboost_locale.so: undefined reference to `boost::locale::impl_posix::create_localization_backend()' /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../lib64/libboost_locale.so: undefined reference to `boost::locale::impl_win::create_localization_backend()' /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../lib64/libboost_locale.so: undefined reference to `boost::locale::impl_std::create_localization_backend()' collect2: error: ld returned 1 exit status It does the same with -lboost_locale-fmt. Compiling with any other boost library, instead of boost_locale, works as expected. Version-Release number of selected component (if applicable): boost-locale-1.48.0-11.fc17.x86_64 boost-devel-1.48.0-11.fc17.x86_64 boost-1.48.0-11.fc17.x86_64 How reproducible: Always. Actual results: Does not compile. Expected results: Should compile without any error.
It seems like we neglect to include some files when building the locale library. I think we should also force in -DBOOST_LOCALE_NO_WINAPI_BACKEND.
boost-1.48.0-13.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/boost-1.48.0-13.fc17
Package boost-1.48.0-13.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing boost-1.48.0-13.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9818/boost-1.48.0-13.fc17 then log in and leave karma (feedback).
That update solves the issue. Thank you very much.
boost-1.48.0-13.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.