Re: [Arsperl-users] Having problems loadin arsperl
Brought to you by:
jeffmurphy
|
From: <Con...@t-...> - 2012-10-30 13:38:57
|
Hi Ted,
I googled around for __1cG__CrunSregister_exit_code6FpG_v_v_ and it seems that there exists a patch for the c-runtime libraries for solaris.
HTH
KR Conny
________________________________
Von: Austin, Ted (OET) [mailto:ted...@st...]
Gesendet: Montag, 29. Oktober 2012 16:48
An: ars...@li...
Betreff: [Arsperl-users] Having problems loadin arsperl
I am trying to install ARSperl 1.93 on ARS 7.6.04 in a Solaris 10 environment.
Has anyone successfully install in this environment? I am using gcc and had to reinstall Perl. I have tried 5.16.1 and 5.12.4 but I continue to get the following when I run make test:
t/00connect.t ........... Can't load '/apps/tmp1/1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /apps/tmp1/1.93/blib/arch/auto/ARS/ARS.so: symbol __1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found at usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/DynaLoader.pm line 190.
at t/00connect.t line 12.
.
.
When I do perl Makefile.PL, I get:
$ perl Makefile.PL
Building against perl 5.016001
Generating support.h file..
Processing AR_STRUCT_ITEM codes..
Processing AR_SERVER_STAT codes..
Processing AR_SCHEMA codes..
Processing AR_COM_PARM codes..
Processing AR_COM_METHOD codes..
Processing AR_DDE codes..
Processing AR_ACTIVE_LINK_ACTION codes..
Processing AR_ACTIVE_LINK_ACTION_OPEN codes..
Processing AR_CHAR_MENU_DD type codes..
Processing AR_CHAR_MENU_DD name codes..
Processing AR_CHAR_MENU_DD value format..
Processing AR_CHAR_MENU codes..
Processing AR_FILTER_ACTION codes..
Processing AR_MENU_REFRESH codes..
Processing AR_PERMISSIONS (Schema) codes..
Processing AR_PERMISSIONS (Field) codes..
Processing AR_DATA_TYPE codes..
Processing AR_BYTE_LIST codes..
Processing AR_NO_MATCH codes..
Processing AR_MULTI_MATCH codes..
Processing AR_RETURN codes..
Processing AR_FUNCTION codes..
Processing ARCON codes..
Processing ARCONOWNER codes..
Processing ARREF codes..
Processing AR_KEYWORD codes..
Processing AR_SERVER_INFO codes..
Processing AR_SIGNAL codes..
Generating serverTypeInfoHints.h ..
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.60
ARSAPI = /apps/bmc/ars/api
AUTODEFINES = -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50
Note (probably harmless): No library found for -licuucbmc
Note (probably harmless): No library found for -licui18nbmc
Note (probably harmless): No library found for -licudatabmc
Writing Makefile for ARS
Writing MYMETA.yml and MYMETA.json
=== ARSperl 'make test' configuration. ===
When I do make I get:
# make
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 ARS.c
ARS.c: In function `XS_ARS_ars_GetListContainer':
ARS.xs:1197: warning: 'ret' might be used uninitialized in this function
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 support.c
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 supportrev.c
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 supportrev_generated.c
Running Mkbootstrap for ARS ()
chmod 644 ARS.bs
rm -f blib/arch/auto/ARS/ARS.so
LD_RUN_PATH="/usr/lib" gcc -G -L/usr/local/lib ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so /apps/bmc/ars/api/lib/libar.a \
-L/apps/bmc/ars/api/lib -lnsl -lpthread \
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
Help.
ted....
Ted Austin
Information Systems Software
Office of Enterprise Technology
State of Minnesota
658 Cedar Street, Room 510
St. Paul, MN 55155
651-201-1204
|