okay I looked up Coexistence in the INSTALL doc sent with the perl dist and it claims that since 5.6.? are not binar compatiable with 5.8.?, the Arch lib will not be searched in older perls. Seems right,
>> /usr/local/bin/perl5.8.1 -e 'print join "\n", @INC' /usr/local/lib/perl5/5.8.1/i686-linux /usr/local/lib/perl5/5.8.1 /usr/local/lib/perl5/site_perl/5.8.1/i686-linux /usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl ...so is DBI searching the old arch libs? On 15-Oct-2003 [EMAIL PROTECTED] wrote: > > > I did run it with -d and it ran fine, but I didn't use -d with "-MExtUtils::MM" > which shows > me the error or leads me towards it, > > ok 39 at line 104 > /u01/usr/local/bin/perl5.8.1: error in loading shared libraries: > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBD/Oracle/Oracle.so: undefined > symbol: perl_get_sv > dubious > Test returned status 127 (wstat 32512, 0x7f00) > DIED. FAILED tests 40-43 > Failed 4/43 tests, 90.70% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/01basics.t 127 32512 43 8 18.60% 40-43 > 40-43 > > .. How do I tell perl5.8.1 not to look in site_perl/5.6.1 for modules? > > > > > > On 15-Oct-2003 Tim Bunce wrote: >> On Wed, Oct 15, 2003 at 08:41:41AM -0500, [EMAIL PROTECTED] wrote: >>> >>> I am compiling Perl 5.8.1 on one of our servers, currently all the code uses perl >>> 5.6.1. >>> I wanted to get 5.8.1 compiled, installed and all the modules needed on this >>> server. >>> When everything is installed and tested, I will point /usr/local/bin/perl -> >>> perl5.8.1. >>> I was installing DBI and one of the tests fails for 01basics.t, >>> >>> t/01basics.............ok 41/43Out of memory! >>> >>> ..test 42 & 43 are (so you don't have to look them up), >>> >>> my @installed_drivers = DBI->installed_versions; >>> ok(0, @installed_drivers >= 1); >>> ok(0, grep { $_ eq 'Sponge' } @installed_drivers); >>> >>> ..if I run the test with >>> >>> /usr/local/bin/perl5.8.1 -Mblib t/01basics.t >>> >>> ..everything tests "ok", but if I run with >>> >>> /u01/usr/local/bin/perl5.8.1 "-MExtUtils::Command::MM" "-e" "test_harness(1, >>> 'blib/lib', >>> 'blib/arch')" t/01basics.t >>> >>> ..I get the Out of memory error. >> >> Odd. Try adding -d to run it under the debugger. >> And/or run it with DBI_TRACE env var defined. >> >> Tim. > > -- > ---------------------------------- > E-Mail: [EMAIL PROTECTED] > Date: 15-Oct-2003 > Time: 11:06:26 > ---------------------------------- -- ---------------------------------- E-Mail: [EMAIL PROTECTED] Date: 15-Oct-2003 Time: 13:26:49 ----------------------------------