You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by Luis Argerich <lr...@yahoo.com> on 2002/01/07 14:05:34 UTC
XercesPerl with ICU on Linux
HI all,
I've succesfully compiled, installed and tested the Xerces Perl module =
with XercesC 1.5.2, however, I need support
for latin codes using iso-8859 so correct me if I'm wrong but I do have =
to compile Xerces with ICU.
I compile Xerces 1.5.2 with ICU (-t icu) without problems but when I =
recompile the Perl module I get a lot of
errors in the "make test" phase such as:
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/SAXParser.........Can't load 'blib/arch/auto/XML/Xerces/Xerces.so' for =
module XML::Xerces: =
/home/luigi/xerces-c-src1_5_2/lib/libxerces-c1_5_2.so: undefined symbol: =
icudata_dat at /usr/local/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line =
206.
at blib/lib/XML/Xerces.pm line 7
All the errors are like this one, "undefined symbol icudata_dat" perhaps =
I must set some environment variable when compiling the perl module or =
something
like that.
If you know how to help me I'd really appreciate it.
Thanks,
Luis.
lrargerich@yahoo.com
Re: XercesPerl with ICU on Linux
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Luis Argerich" <lr...@yahoo.com> writes:
> I've succesfully compiled, installed and tested the Xerces Perl
> module = with XercesC 1.5.2, however, I need support for latin codes
> using iso-8859 so correct me if I'm wrong but I do have = to compile
> Xerces with ICU.
No you don't need ICU. XML::Xerces uses the builtin transcoders for
ISO-8859-1 so you should be fine: at least I've gotten one report of
success using it for Czech.
> I compile Xerces 1.5.2 with ICU (-t icu) without problems but when I =
> recompile the Perl module I get a lot of
> errors in the "make test" phase such as:
>
> DIED. FAILED tests 1-6
> Failed 6/6 tests, 0.00% okay
> t/SAXParser.........Can't load 'blib/arch/auto/XML/Xerces/Xerces.so' for =
> module XML::Xerces: =
> /home/luigi/xerces-c-src1_5_2/lib/libxerces-c1_5_2.so: undefined symbol: =
> icudata_dat at /usr/local/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line =
> 206.
> at blib/lib/XML/Xerces.pm line 7
>
>
> All the errors are like this one, "undefined symbol icudata_dat" perhaps =
> I must set some environment variable when compiling the perl module or =
> something
> like that.
It's a dynamic loading error, so my first guess is always that you're
not setting LD_LIBRARY_PATH to include libicu*.so libraries.
But you don't need ICU, so I would just re-build Xerces-C without it.
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org