Hi Sean.  I had the same problem and *was* using ICU -- what's more I set
the ICU_DATA environment variable to what it said and it didn't work.  The
real problem is probably that your LD_LIBRARY_PATH variable isn't set
right.  You'll need to set it to the directory that contains the
libxerces-c1_0.so library.  For me, it's in /usr/local/lib, so:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

HTH

-- Harmon

On Fri, 11 Feb 2000, Sean Han wrote:

> Hi:
> 
> When I used the xerces-c++, I always get the following message no matter I
> run the sample program of mine.
> 
>   The Xerces-C system could not be initialized.
>   If you are using ICU, then the most likely reason for this failure
>   is the inability to find the ICU coverter files. The converter files
>   have the extension .cnv and exist in a directory 'icu/data' relative
>   to the Xerces-C shared library. If you have installed the converter files
>   in a different location, you need to set up the environment variable
>   'ICU_DATA' to point directly to the directory containing the
>   converter files.
> 
> I didn't use ICU or any international encoding procedure. Can anyone tell me
> what's wrong here. My platform is Redhat-Linux on 386 box.
> 
> Thanks!
> 
> Sean
> 

Reply via email to