I am running 64 bit OS (Enterprise Red Hat Linux 5.5). I am able to compile it, but when I do "make test", I get following error:
[root@remedy ARSperl]# make test
PERL_DL_NONLAZY=1 /opt/perl5/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... Can't load '/opt/ARSperl/blib/arch/auto/ARS/ARS.so' for module ARS: /opt/ARSperl/blib/arch/auto/ARS/ARS.so: undefined symbol: ucnv_open_3_2 at /opt/perl5/lib/5.8.8/i686-linux/DynaLoader.pm line 230.
at t/00connect.t line 12
Compilation failed in require at t/00connect.t line 12.
BEGIN failed--compilation aborted at t/00connect.t line 12.
t/00connect.t ........... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/01import.t ............ Can't load '/opt/ARSperl/blib/arch/auto/ARS/ARS.so' for module ARS: /opt/ARSperl/blib/arch/auto/ARS/ARS.so: undefined symbol: ucnv_open_3_2 at /opt/perl5/lib/5.8.8/i686-linux/DynaLoader.pm line 230.
at t/01import.t line 7
Compilation failed in require at t/01import.t line 7.
BEGIN failed--compilation aborted at t/01import.t line 7.
t/01import.t ............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/02export.t ............ Can't load '/opt/ARSperl/blib/arch/auto/ARS/ARS.so' for module ARS: /opt/ARSperl/blib/arch/auto/ARS/ARS.so: undefined symbol: ucnv_open_3_2 at /opt/perl5/lib/5.8.8/i686-linux/DynaLoader.pm line 230.
at t/02export.t line 3
I have searched and it seems like there is no relief in sight.
ucnv_open_3_2 is a symbol in the libuci* libraries. BMC, for some reason, has those libraries in the bin/ directory instead of the lib/ directory. You can either add that directory to the $ARS_LDPATH in Makefile.PL or you can copy the libraries from bin/ to lib/
Thank you very much! That did help me out.
Has anyone had issues installing arfperl? I would like to see a Makefile.PL that worked.
the makefile.pl as provided works, you just need to fix the libraries. some of them didn't unpack correctly for me and had zero size. i deleted those and replaced them with symlinks to the appropriate base library and it worked.
my libs look like this once i finished fixing the bmc zip file brokeness:
-bash-3.2$ ls -l lib
total 97552
-rwxr-xr-x 1 jcmurphy users 92015 Jan 14 2011 antlr-runtime-3.0.jar
-rwxr-xr-x 1 jcmurphy users 7858836 Jan 14 2011 arapi7604_build002.jar
-rwxr-xr-x 1 jcmurphy users 1341234 Jan 14 2011 arapiext7604_build002.jar
-rwxr-xr-x 1 jcmurphy users 419651 Jan 14 2011 arcmn7604_build002.jar
-rwxr-xr-x 1 jcmurphy users 1527134 Jan 14 2011 ardoc7604_build002.jar
-rwxr-xr-x 1 jcmurphy users 2149214 Jan 14 2011 arrpc7604_build002.jar
-rwxr-xr-x 1 jcmurphy users 6249 Jan 14 2011 arsys_sample.xml
-rwxr-xr-x 1 jcmurphy users 188671 Jan 14 2011 commons-beanutils.jar
-rwxr-xr-x 1 jcmurphy users 46725 Jan 14 2011 commons-codec-1.3.jar
-rwxr-xr-x 1 jcmurphy users 571259 Jan 14 2011 commons-collections-3.2.jar
-rwxr-xr-x 1 jcmurphy users 232915 Jan 14 2011 commons-configuration-1.3.jar
-rwxr-xr-x 1 jcmurphy users 139966 Jan 14 2011 commons-digester-1.7.jar
-rwxr-xr-x 1 jcmurphy users 243016 Jan 14 2011 commons-lang-2.2.jar
-rwxr-xr-x 1 jcmurphy users 52915 Jan 14 2011 commons-logging-1.1.jar
-rwxr-xr-x 1 jcmurphy users 225 Jan 14 2011 ImageExtractor.bat
-rwxr-xr-x 1 jcmurphy users 217 Jan 14 2011 javadriver.bat
-rwxr-xr-x 1 jcmurphy users 113674 Jan 14 2011 javadriver.jar
-rwxr-xr-x 1 jcmurphy users 210 Jan 14 2011 javawfd.bat
-rwxr-xr-x 1 jcmurphy users 4688734 Jan 14 2011 libar.a
-rwxr-xr-x 1 jcmurphy users 566776 Jan 14 2011 libarcrypto_lx64.so
-rwxr-xr-x 1 jcmurphy users 251936 Jan 14 2011 libarcrypto.so
-rwxr-xr-x 1 jcmurphy users 36484 Jan 14 2011 libarflib.so
-rwxr-xr-x 1 jcmurphy users 2084309 Jan 14 2011 libari7604_build002_lx64.so
-rwxr-xr-x 1 jcmurphy users 4782501 Jan 14 2011 libarjni7604_build002.so
-rwxr-xr-x 1 jcmurphy users 10856940 Jan 14 2011 libar_lx64.a
-rwxr-xr-x 1 jcmurphy users 163116 Jan 14 2011 libarrpc_lx64.so
-rwxr-xr-x 1 jcmurphy users 111452 Jan 14 2011 libarrpc.so
-rwxr-xr-x 1 jcmurphy users 3484296 Jan 14 2011 libar.so
-rwxr-xr-x 1 jcmurphy users 3250690 Jan 14 2011 libarxmlutil_lx64.so
-rwxr-xr-x 1 jcmurphy users 3029090 Jan 14 2011 libarxmlutil.so
lrwxrwxrwx 1 jcmurphy users 26 Sep 22 14:28 libicudatabmc_lx64.so -> libicudatabmc_lx64.so.32.0
lrwxrwxrwx 1 jcmurphy users 26 Sep 22 14:46 libicudatabmc_lx64.so.32 -> libicudatabmc_lx64.so.32.0
-rwxr-xr-x 1 jcmurphy users 9805916 Jan 14 2011 libicudatabmc_lx64.so.32.0
lrwxrwxrwx 1 jcmurphy users 21 Sep 22 14:28 libicudatabmc.so -> libicudatabmc.so.32.0
-rwxr-xr-x 1 jcmurphy users 9802163 Jan 14 2011 libicudatabmc.so.32.0
lrwxrwxrwx 1 jcmurphy users 26 Sep 22 14:30 libicui18nbmc_lx64.so -> libicui18nbmc_lx64.so.32.0
lrwxrwxrwx 1 jcmurphy users 26 Sep 22 14:46 libicui18nbmc_lx64.so.32 -> libicui18nbmc_lx64.so.32.0
-rwxr-xr-x 1 jcmurphy users 1464929 Jan 14 2011 libicui18nbmc_lx64.so.32.0
-rwxr-xr-x 1 jcmurphy users 1255872 Jan 14 2011 libicui18nbmc.so
lrwxrwxrwx 1 jcmurphy users 22 Sep 22 14:28 libicuiobmc_lx64.so -> libicuiobmc_lx64.so.32
-rwxr-xr-x 1 jcmurphy users 58773 Jan 14 2011 libicuiobmc_lx64.so.32
lrwxrwxrwx 1 jcmurphy users 17 Sep 22 14:28 libicuiobmc.so -> libicuiobmc.so.32
-rwxr-xr-x 1 jcmurphy users 45645 Jan 14 2011 libicuiobmc.so.32
-rwxr-xr-x 1 jcmurphy users 300240 Jan 14 2011 libiculebmc_lx64.so
-rwxr-xr-x 1 jcmurphy users 274635 Jan 14 2011 libiculebmc.so
lrwxrwxrwx 1 jcmurphy users 24 Sep 22 14:29 libiculxbmc_lx64.so -> libiculxbmc_lx64.so.32.0
-rwxr-xr-x 1 jcmurphy users 53779 Jan 14 2011 libiculxbmc_lx64.so.32.0
lrwxrwxrwx 1 jcmurphy users 17 Sep 22 14:29 libiculxbmc.so -> libiculxbmc.so.32
-rwxr-xr-x 1 jcmurphy users 44895 Jan 14 2011 libiculxbmc.so.32
-rwxr-xr-x 1 jcmurphy users 71379 Jan 14 2011 libicutubmc_lx64.so
lrwxrwxrwx 1 jcmurphy users 17 Sep 22 14:29 libicutubmc.so -> libicutubmc.so.32
-rwxr-xr-x 1 jcmurphy users 57616 Jan 14 2011 libicutubmc.so.32
-rwxr-xr-x 1 jcmurphy users 1143028 Jan 14 2011 libicuucbmc_lx64.so
lrwxrwxrwx 1 jcmurphy users 19 Sep 22 14:46 libicuucbmc_lx64.so.32 -> libicuucbmc_lx64.so
lrwxrwxrwx 1 jcmurphy users 19 Sep 22 14:29 libicuucbmc.so -> libicuucbmc.so.32.0
-rwxr-xr-x 1 jcmurphy users 935836 Jan 14 2011 libicuucbmc.so.32.0
lrwxrwxrwx 1 jcmurphy users 27 Sep 22 14:29 libxalan-cbmc_lx64.so -> libxalan-cbmc_lx64.so.110.0
-rwxr-xr-x 1 jcmurphy users 6298811 Jan 14 2011 libxalan-cbmc_lx64.so.110.0
lrwxrwxrwx 1 jcmurphy users 22 Sep 22 14:29 libxalan-cbmc.so -> libxalan-cbmc.so.110.0
-rwxr-xr-x 1 jcmurphy users 5012813 Jan 14 2011 libxalan-cbmc.so.110.0
lrwxrwxrwx 1 jcmurphy users 26 Sep 22 14:30 libxalanMsgbmc_lx64.so -> libxalanMsgbmc_lx64.so.110
-rwxr-xr-x 1 jcmurphy users 45102 Jan 14 2011 libxalanMsgbmc_lx64.so.110
lrwxrwxrwx 1 jcmurphy users 21 Sep 22 14:30 libxalanMsgbmc.so -> libxalanMsgbmc.so.110
-rwxr-xr-x 1 jcmurphy users 37188 Jan 14 2011 libxalanMsgbmc.so.110
-rwxr-xr-x 1 jcmurphy users 5321769 Jan 14 2011 libxerces-cbmc_lx64.so
-rwxr-xr-x 1 jcmurphy users 4744434 Jan 14 2011 libxerces-cbmc.so
lrwxrwxrwx 1 jcmurphy users 30 Sep 22 14:30 libxerces-depdombmc_lx64.so -> libxerces-depdombmc_lx64.so.28
-rwxr-xr-x 1 jcmurphy users 603103 Jan 14 2011 libxerces-depdombmc_lx64.so.28
lrwxrwxrwx 1 jcmurphy users 27 Sep 22 14:30 libxerces-depdombmc.so -> libxerces-depdombmc.so.28.0
-rwxr-xr-x 1 jcmurphy users 532558 Jan 14 2011 libxerces-depdombmc.so.28.0
-rwxr-xr-x 1 jcmurphy users 367444 Jan 14 2011 log4j-1.2.14.jar
-rwxr-xr-x 1 jcmurphy users 2340 Jan 14 2011 log4j.xml
-rwxr-xr-x 1 jcmurphy users 67916 Jan 14 2011 oncrpc.jar
-rwxr-xr-x 1 jcmurphy users 2545110 Jan 14 2011 spring.jar