Re: [Arsperl-users] Arsperl-users Digest, Vol 61, Issue 4:
Brought to you by:
jeffmurphy
|
From: <Con...@t-...> - 2012-11-15 08:31:48
|
Hi Philip, I think this is your problem. Note (probably harmless): No library found for -licuucbmc Note (probably harmless): No library found for -licui18nbmc Note (probably harmless): No library found for -licudatabmc try to copy all the libicu* files from /tools/bmc/remedy/bin to /tools/bmc/remedy/api/lib Since 7.5 BMC does not include all necessary shared libraries into the api/lib folder. HTH KR Conny ________________________________ Von: Philip Wilson [mailto:ph...@wi...] Gesendet: Donnerstag, 15. November 2012 05:23 An: ars...@li... Betreff: Re: [Arsperl-users] Arsperl-users Digest, Vol 61, Issue 4 OK, I am back at it again. I really need this to work. I've created my own 32bit perl installation with DBI and DBD. Then I'm adding arsperl. I cannot get arsperl to compile. Here are as many details as I could gather. Everything in my Solaris 2.10 environment is supposed to be 32 bit. $ perl -V ( Could you compare this output to yours ? ) Summary of my perl5 (revision 5 version 16 subversion 0) configuration: Platform: osname=solaris, osvers=2.10, archname=sun4-solaris uname='sunos prescs07 5.10 generic_147440-11 sun4u sparc sunw,sun-fire-v240 ' config_args='-Dcc=gcc -des -Dprefix=/tools/perl' hint=previous, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV', optimize='-O', cppflags='-fno-strict-aliasing -pipe -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV' ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', gccosandvers='solaris2.10' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' ' libpth=/usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under solaris Compiled at Nov 14 2012 19:39:00 @INC: /production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris /production/77j/perl32/lib/site_perl/5.16.0 /production/77j/perl32/lib/5.16.0/sun4-solaris /production/77j/perl32/lib/5.16.0 . ----------------------------------- $ env ARS=/tools/bmc/remedy PATH=/oracle/g01/software/client32/9.2.0.8/bin:/production/77j/perl32/bin:/oracle/g01/software/client32/9.2.0.8/bin:/usr/bin::/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin::/usr/sbin<http://9.2.0.8/bin:/production/77j/perl32/bin:/oracle/g01/software/client32/9.2.0.8/bin:/usr/bin::/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin::/usr/sbin>: SHELL=/usr/bin/ksh LD_LIBRARY_PATH=/production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS:/usr/local/lib:/usr/sfw/lib:/oracle/g01/software/client32/9.2.0.8/lib:/tools/bmc/remedy/api/lib<http://9.2.0.8/lib:/tools/bmc/remedy/api/lib> ORACLE_HOME=/oracle/g01/software/client32/9.2.0.8<http://9.2.0.8> PWD=/production/77j/stage/ars/ARSperl-1.93 ----------------- Makefile.PL entries that are not commented: $ARSAPI = "/tools/bmc/remedy/api"; $ARSVERSION = 7.6; $ARCHITECTURE = ""; $ENCRYPT = 0; ------------------------------- Here is the compile and test: $ /production/77j/perl32/bin/perl Makefile.PL Building against perl 5.016000 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 = /tools/bmc/remedy/api AUTODEFINES = -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -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. === Please enter the following information. This information will be recorded in ./t/config.cache If you want to skip the 'make test' step, just hit ENTER three times. You can configure it later by either re-running 'perl Makefile.PL' or by editting ./t/config.cache Fair warning: you probably don't want to run 'make test' against a production ARSystem server. Server Name []: Admin Username []: Admin Password []: TCP Port [0]: Type 'make' (windows: 'nmake') to build ARSperl. Type 'make test' to test ARSperl before installing. Type 'make install' to install ARSperl. $ make cp ARS/arerrno-h.pm<http://arerrno-h.pm> blib/lib/ARS/arerrno-h.pm<http://arerrno-h.pm> Skip blib/lib/ARS/OOsup.pm (unchanged) cp ARS/ar-h.pm<http://ar-h.pm> blib/lib/ARS/ar-h.pm<http://ar-h.pm> Skip blib/lib/ARS/nparm.pm<http://nparm.pm> (unchanged) Skip blib/lib/ARS/OOmsgs.pm (unchanged) Skip blib/lib/ARS/OOform.pm (unchanged) cp ARS.pm blib/lib/ARS.pm AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) /production/77j/perl32/bin/perl /production/77j/perl32/lib/5.16.0/ExtUtils/xsubpp -typemap /production/77j/perl32/lib/5.16.0/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc && mv ARS.xsc ARS.c gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -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/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 support.c gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 supportrev.c gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -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 ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so /tools/bmc/remedy/api/lib/libar.a \ -L/tools/bmc/remedy/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 $ make test PERL_DL_NONLAZY=1 /production/77j/perl32/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00connect.t ........... Can't load '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol ucnv_setDefaultName_3_2: referenced symbol not found at /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. 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 255 (wstat 65280, 0xff00) No subtests run t/01import.t ............ Can't load '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol ucnv_setDefaultName_3_2: referenced symbol not found at /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. 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 255 (wstat 65280, 0xff00) No subtests run t/02export.t ............ ^C$ ------------------------------------------------ Any ideas? |