Subject: | Perl 32 bit on Solaris x86 64 bit with Oracle 64 bit Problems |
1) Problem Linkage Problem with woring ELF class...
Setting LD_LIBRARY_PATH to $ORACLE_HOME/lib32 can cause troubles to
other programs ..
Solaris therefor provides LD_LIBRARY_PATH_32 which is only evaluated by
32 bit Programs
With that I was able to make but got follwoign warning
Your LD_LIBRARY_PATH env var is set to ''
WARNING: Your LD_LIBRARY_PATH env var doesn't
include '/opt/oracle/product/10.2.0/lib32' but probably needs to.
To get rid of this warning yout must improve your check on Solaris for
32 bit to LD_LLD_LIBRARY_PATH_32 too and for the future with 64 Bit
LD_LIBRARY_PATH_64
2)
make test still produces following Errors
cpan[3]> test DBD::Oracle
Running test for module 'DBD::Oracle'
Running make for P/PY/PYTHIAN/DBD-Oracle-1.23.tar.gz
Has already been unwrapped into directory /.cpan/build/DBD-Oracle-
1.23-36Z0xw
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-
e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base.t .............. # Test loading DBI, DBD::Oracle and version
t/01base.t .............. ok
t/10general.t ........... 1/31
t/10general.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/31 subtests
t/12impdata.t ........... ok
t/14threads.t ........... skipped: this solaris perl 5.010000 not
configured to support iThreads
t/15nls.t ............... ok
t/20select.t ............ ok
t/21nchar.t ............. ok
t/22nchar_al32utf8.t .... ok
t/22nchar_utf8.t ........ ok
t/23wide_db.t ........... skipped: Database character set is not Unicode
t/23wide_db_8bit.t ...... skipped: Database character set is not Unicode
t/23wide_db_al32utf8.t .. skipped: Database character set is not Unicode
t/24implicit_utf8.t ..... ok
t/25plsql.t ............. ok
t/26exe_array.t ......... ok
t/28array_bind.t ........ ok
t/30long.t .............. ok
t/31lob.t ............... ok
t/31lob_extended.t ...... ok
t/32xmltype.t ........... ok
t/34pres_lobs.t ......... ok
t/40ph_type.t ........... 1/19 Placeholder behaviour for ora_type=1
VARCHAR2 (the default) varies with Oracle version.
Oracle 7 didn't strip trailing spaces, Oracle 8 did, until 9.2.x
Your system doesn't. If that seems odd, let us know.
t/40ph_type.t ........... ok
t/50cursor.t ............ Can't determine open_cursors from
v$parameter, so using default
t/50cursor.t ............ ok
t/51scroll.t ............ ok
t/55nested.t ............ ok
t/56embbeded.t .......... ok
t/58object.t ............ ok
t/60reauth.t ............ skipped: ORACLE_USERID_2 not defined.
t/70meta.t .............. ok
t/80ora_charset.t ....... ok
Test Summary Report
-------------------
t/10general.t (Wstat: 512 Tests: 31 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=30, Tests=1118, 20 wallclock secs ( 0.24 usr 0.10 sys + 8.63
cusr 1.34 csys = 10.31 CPU)
Result: FAIL
Failed 1/30 test programs. 2/1118 subtests failed.
*** Error code 255
make: Fatal error: Command failed for target `test_dynamic'
PYTHIAN/DBD-Oracle-1.23.tar.gz
/usr/ccs/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
reports PYTHIAN/DBD-Oracle-1.23.tar.gz
Failed during this command:
PYTHIAN/DBD-Oracle-1.23.tar.gz : make_test NO
How can I geht rid of this errors to get this Test OK ?
Regards
Alois