Philip,
If problem still exists,

1)      Do all Paul recommended

2)      Do what Jeff Murphy advised me:


> Note (probably harmless): No library found for -licuucbmc

> Note (probably harmless): No library found for -licui18nbmc

> Note (probably harmless): No library found for -licudatabmc



You need to track down those libraries and make sure they are

located somewhere where make will find them (eg where ever libar is)


I basically copied these files from ../ars/bin to ../api/lib

ted....

From: Paul Blasquez [mailto:[email protected]]
Sent: Thursday, October 11, 2012 2:48 PM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Arsperl-users Digest, Vol 61, Issue 4

Philip,

I would verify that everything is indeed 32bit with the 'file' utility, 
especially your perl binary. You may find that it is 64bit even though you did 
not set the 64bit compile flag.  If I recall correctly, I had to add the -m32 
flag to all perl compile lines (some were buried beyond the configuration 
section of the makefile) and use a custom library path that only had 32bit 
libraries on this step.

Also, I did not see any -m32 options in your ARSPerl compile lines so I you 
will probably need to add those once your 32bit perl is confirmed.

It is actually a bit tricky to force 32 bit compilation in a 64 bit environment 
so you must double-check.

-Paul
On Thu, Oct 11, 2012 at 12:00 PM, Philip Wilson 
<[email protected]<mailto:[email protected]>> wrote:
OK, I recompiled everything as 32bit.  Same exact issue. Any other ideas?

Here is a transcript:
$ perl -V
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=''
    hint=recommended, 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'
    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 Oct 11 2012 12:30:46
  @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
    .

$ perl Makefile.PL
found API Version: 18
derived server version from ar.h:
found ar libraries: $VAR1 = [];
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  
-DGETLISTGROUP_OLD_STYLE  -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  -DGETLISTGROUP_OLD_STYLE  -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  -DGETLISTGROUP_OLD_STYLE  -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  -DGETLISTGROUP_OLD_STYLE  -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  -DGETLISTGROUP_OLD_STYLE  -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
^C





---------- Forwarded message ----------
From: Paul Blasquez <[email protected]<mailto:[email protected]>>
To: ARSperl User Discussion 
<[email protected]<mailto:[email protected]>>
Cc:
Date: Tue, 9 Oct 2012 14:33:29 -0700
Subject: Re: [Arsperl-users] arsperl compile issue
Hi Philip,

It looks to me that you tried to compile as 64bit. Your compile output had 
quite a few incompatible type errors and unfortunately those are fatal during 
runtime. As far as I know, nobody has successfully compiled ARSPerl as 64bit..

The only method I am aware of by which you can install ARSPerl in a 64bit 
environment is using a custom 32bit perl with all compiler lines (for both 
compiling the custom perl and the ARSPerl) having the argument of -m32 and 
having a 32bit version of all libraries in the library path.  I just did this 
recently (about a month ago) and I was able to get it running as 32bit 
perl/ARSPerl on a 64bit OS.

Hope this helps.

-Paul
On Tue, Oct 9, 2012 at 1:59 PM, Philip Wilson 
<[email protected]<mailto:[email protected]>> wrote:
I have the LD_LIBRARY_PATH variable set:

$ echo $LD_LIBRARY_PATH
/oracle/g01/software/rdbms/11.2.0.3/lib:/tools/bmc/remedy/bin:/tools/bmc/remedy/api/lib:/tools/bmc/remedy/arealdap:/tools/bmc/remedy/ardbcldap:/oracle/g01/software/rdbms/11.2.0.3/lib:/tools/java16/jre/lib/sparc/server:/tools/java16/jre/bin:/tools/java16/jre/lib/sparc/native_threads:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS<http://11.2.0.3/lib:/tools/bmc/remedy/bin:/tools/bmc/remedy/api/lib:/tools/bmc/remedy/arealdap:/tools/bmc/remedy/ardbcldap:/oracle/g01/software/rdbms/11.2.0.3/lib:/tools/java16/jre/lib/sparc/server:/tools/java16/jre/bin:/tools/java16/jre/lib/sparc/native_threads:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS>
$ ./testars11.pl<http://testars11.pl/>

Can't load 
'/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so'
 for module ARS: ld.so.1: perl: fatal: relocation error: file 
/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:
 symbol ucnv_setDefaultName_3_2: referenced symbol not found at 
/production/77j/customperl/lib/5.16.0/sun4-solaris-64/DynaLoader.pm line 190.
 at ./testars11.pl<http://testars11.pl/> line 5.
Compilation failed in require at ./testars11.pl<http://testars11.pl/> line 5.
BEGIN failed--compilation aborted at ./testars11.pl<http://testars11.pl/> line 
5.

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev


--
Arsperl-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/arsperl-users


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Arsperl-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/arsperl-users


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev


--
Arsperl-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/arsperl-users

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d

--
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to