Subject: | tests fail with "undefined symbol: fribidi_unicode_version" |
Date: | Wed, 17 Oct 2018 11:18:25 +0200 |
To: | bug-Text-Bidi [...] rt.cpan.org |
From: | int <int [...] arcor.de> |
Hi,
from Text::Bidi 2.13 till 2.15 when doing the usual:
Show quoted text
> $ perl Makefile.PL
> $ make
> $ make test
I get in all (tests except t/00-report-prereqs.t) the following:
Show quoted text> Can't load '/usr/local/src/Text-Bidi-2.15/blib/arch/auto/Text/Bidi/private/private.so' for module
> Text::Bidi::private: /usr/local/src/Text-Bidi-2.15/blib/arch/auto/Text/Bidi/private/private.so:
> undefined symbol: fribidi_unicode_version at /usr/lib/perl5/5.28/core_perl/DynaLoader.pm line 193.
> at /usr/local/src/Text-Bidi-2.15/blib/lib/Text/Bidi/private.pm line 11.
When doing nm:
Show quoted text> $ nm blib/arch/auto/Text/Bidi/private/private.so
I get indeed an undefined symbol for "fribidi_unicode_version":
Show quoted text> ...
> U fribidi_unicode_version
> ...
private.so links to libfribidi.so.0:
Show quoted text> $ ldd blib/arch/auto/Text/Bidi/private/private.so
> ...
> libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f57d2fbf000)
> ...
In the official fribid package version 1.0.5 on ArchLinux (x86_64) "fribidi_unicode_version" isn't exported,
but I build it myself and replaced libfribidi.so.0 with a version
where "fribidi_unicode_version" is exported:
Show quoted text> $ nm /usr/lib/libfribidi.so.0
> ...
> 00000000000210e8 d fribidi_unicode_version
> ...
but it didn't help I get this "undefined symbol"-error as before.
(Btw I'm the AUR package-maintainer of perl-text-bidi of ArchLinux.)
Greetings,
int