[sword-devel] SVN revision 2558 ICU Error

Chris Little chrislit at crosswire.org
Sun Oct 3 00:28:57 MST 2010


It works fine in VC++.

This is just a guess, because I'm not expert in troubleshooting Linux 
builds, but it looks like you're missing the devel package for ICU 4.2, 
even though this is the version Sword is trying to use. So, my advice 
would be to make it use 4.4 or install the ICU 4.2 devel package. (Or 
wait for a response from someone who knows what they're talking about.)

--Chris


On 10/3/2010 12:14 AM, troypulk wrote:
> Hello I just tried to update my svn and I got this icu error.
>
> I have the following icu installed
>
> icu-4.4-69.2mib2010.0
> libicu42-4.2.1-1mdv2010.0
> libicu-devel-4.4-69.2mib2010.0
> libicu44-4.4-69.2mib2010.0
>
> Is there a fix? and is anybody else getting this error?
>
> I didn't have this error with revision 2519 which was the last one I had.
>
> Thanks
>
>
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::UnicodeString()'
> ./lib/.libs/libsword.so: undefined reference to `ures_close_4_2'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::extract(char*, int, UConverter*, UErrorCode&)
> const'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::Normalizer::normalize(icu_4_2::UnicodeString const&,
> UNormalizationMode, int, icu_4_2::UnicodeString&, UErrorCode&)'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::operator=(icu_4_2::UnicodeString const&)'
> ./lib/.libs/libsword.so: undefined reference to `ubidi_writeReordered_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ucnv_toUChars_4_2'
> ./lib/.libs/libsword.so: undefined reference to `u_errorName_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ucnv_close_4_2'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::doCompare(int, int, unsigned short const*, int,
> int) const'
> ./lib/.libs/libsword.so: undefined reference to `ucnv_fromUChars_4_2'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::~UnicodeString()'
> ./lib/.libs/libsword.so: undefined reference to `u_shapeArabic_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ures_getByKey_4_2'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::UnicodeString(char const*, int, UConverter*,
> UErrorCode&)'
> ./lib/.libs/libsword.so: undefined reference to `u_strToUpper_4_2'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::UnicodeString(icu_4_2::UnicodeString const&)'
> ./lib/.libs/libsword.so: undefined reference to `ubidi_openSized_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ubidi_close_4_2'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::UnicodeString(unsigned short const*)'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::Transliterator::createInstance(icu_4_2::UnicodeString const&,
> UTransDirection, UErrorCode&)'
> ./lib/.libs/libsword.so: undefined reference to `ubidi_setPara_4_2'
> ./lib/.libs/libsword.so: undefined reference to `u_strToUTF8_4_2'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::extract(int, int, char*, unsigned int, char
> const*) const'
> ./lib/.libs/libsword.so: undefined reference to `ures_getByIndex_4_2'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::UnicodeString(signed char, unsigned short
> const*, int)'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::Transliterator::registerInstance(icu_4_2::Transliterator*)'
> ./lib/.libs/libsword.so: undefined reference to `unorm_normalize_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ucnv_open_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ures_openDirect_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ublock_getCode_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ures_getStringByIndex_4_2'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::UnicodeString::UnicodeString(char const*)'
> ./lib/.libs/libsword.so: undefined reference to
> `icu_4_2::Transliterator::createFromRules(icu_4_2::UnicodeString const&,
> icu_4_2::UnicodeString const&, UTransDirection, UParseError&, UErrorCode&)'
> ./lib/.libs/libsword.so: undefined reference to `u_strFromUTF8_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ures_getStringByKey_4_2'
> ./lib/.libs/libsword.so: undefined reference to `ures_getSize_4_2'
> collect2: ld returned 1 exit status
> make[1]: *** [buildtest] Error 1
> make[1]: Leaving directory `/home/troypulk/sword'
> make: *** [all-recursive] Error 1
>
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page



More information about the sword-devel mailing list