Re: [Arsperl-users] Problems using ARS Perl 1.91 on 32-bit RHEL5
Brought to you by:
jeffmurphy
|
From: Paul B. <pbl...@gm...> - 2009-10-01 21:11:34
|
Sorry, I forgot to re-shell after changing my LD_LIBRARY_PATH, that seems to have done it. -Paul On Thu, Oct 1, 2009 at 1:57 PM, Paul Blasquez <pbl...@gm...> wrote: > Hello, > > This package compiles successfully with warnings, but tests fail with the > following (including tests using the ARS module after a 'make install'): > > Can't load '/root/Desktop/ARSperl-1.91/blib/arch/auto/ARS/ARS.so' for > module ARS: libicuucbmc.so.32: cannot open shared object file: No such file > or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm > line 230. > > Here's the full make dialogue: > > [root@remappdev32 ARSperl-1.91]# make > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm > cp ARSnparm.pm blib/lib/ARSnparm.pm > cp artypes.ph blib/lib/artypes.ph > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph > cp ARSar-h.pm blib/lib/ARSar-h.pm > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm > cp ARSnt-h.pm blib/lib/ARSnt-h.pm > cp ARSOOsup.pm blib/lib/ARSOOsup.pm > cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm > cp ARSOOform.pm blib/lib/ARSOOform.pm > cp ARS.pm blib/lib/ARS.pm > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) > /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc && > mv ARS.xsc ARS.c > gcc -c -I/remedy/ARSystem/api/include -D_REENTRANT -D_GNU_SOURCE > -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" > -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -g > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 ARS.c > ARS.c: In function âXS_ARS_ars_CreateFieldâ: > ARS.xs:3817: warning: âcreateModeâ may be used uninitialized in this > function > ARS.xs: In function âXS_ARS_ars_SetVUIâ: > ARS.xs:4689: warning: call to __builtin___memset_chk will always overflow > destination buffer > gcc -c -I/remedy/ARSystem/api/include -D_REENTRANT -D_GNU_SOURCE > -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" > -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -g > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 > support.c > support.c: In function âperl_ARFieldValueOrArithStructâ: > support.c:3358: warning: pointer targets in passing argument 2 of > âperl_dataType_namesâ differ in signedness > support.c: In function âsv_to_ARValueâ: > support.c:3904: warning: operation on â__lenâ may be undefined > support.c:3926: warning: operation on â__lenâ may be undefined > support.c: In function âperl_ARCharMenuStructâ: > support.c:4519: warning: âretâ may be used uninitialized in this function > support.c: In function âperl_ARBulkEntryReturnâ: > support.c:4272: warning: âretâ may be used uninitialized in this function > gcc -c -I/remedy/ARSystem/api/include -D_REENTRANT -D_GNU_SOURCE > -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" > -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -g > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 > supportrev.c > supportrev.c: In function ârev_ARValueStructâ: > supportrev.c:1244: warning: pointer targets in passing argument 3 of > âPerl_sv_2pv_flagsâ differ in signedness > supportrev.c: In function ârev_ARByteListâ: > supportrev.c:1491: warning: format â%dâ expects type âintâ, but argument 3 > has type âlong unsigned intâ > supportrev.c: In function ârev_ARPermissionListâ: > supportrev.c:2757: warning: suggest parentheses around assignment used as > truth value > supportrev.c:2758: warning: null argument where non-null required (argument > 1) > supportrev.c: At top level: > supportrev.c:551: warning: ârev_ARDisplayStruct_helperâ defined but not > used > gcc -c -I/remedy/ARSystem/api/include -D_REENTRANT -D_GNU_SOURCE > -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" > -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -g > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 > supportrev_generated.c > Running Mkbootstrap for ARS () > chmod 644 ARS.bs > rm -f blib/arch/auto/ARS/ARS.so > gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -L/usr/local/lib ARS.o support.o supportrev.o > supportrev_generated.o /remedy/ARSystem/api/lib/libar.a -o > blib/arch/auto/ARS/ARS.so \ > -L/remedy/ARSystem/api/lib -lpthread -licuucbmc > -licui18nbmc \ > > chmod 755 blib/arch/auto/ARS/ARS.so > cp ARS.bs blib/arch/auto/ARS/ARS.bs > chmod 644 blib/arch/auto/ARS/ARS.bs > > > I have tried adding the lib directory containing libicuucbmc.so.32 to my > LD_LIBRARY_PATH but no luck. > > Any thoughts? > > -Paul > > > |