PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: tscheresky at micron dot com
Subject: Sybperl 2.09_01 CTlib test dumps DU 4.0B on Alpha...
Date: Mar 10 1998 12:15AM

The following test of the CTlib module produces ( A CORE DUMP ) the
following output.  Also, Sybperl 2.09_01 built without any problems, all
modules except CTlib tested without failure, and Sybperl 2.09 built and
tested without any problems.  Any ideas what changes were made in the
CTlib module that would cause this problem?

Michael, I was never able to get "make test" to work with either Sybperl
2.09 or Sybperl 2.09_01.  I was able to test each module successfully in
Sybperl 2.09 by doing it manually.  Any ideas, why this seems to be a
problem going back to Sybperl 2.08?

Thanks... Todd

--------------------------------------
Sybase Open Client 11.1.1
Digital UNIX V4.0B  (Rev. 564)
--------------------------------------
$ cd ../CTlib
$ perl -Mblib -I$PERLLIB t/ctlib.t
Using /usr/users/tscheres/00src/sybperl-2.09_01/CTlib/../blib
1..30
ok 1
Sybperl Version This is sybperl, version 2.09_01

Sybase::CTlib version 1.32 03/05/98

Copyright (c) 1995-1997 Michael Peppler
Portions Copyright (c) 1995 Sybase, Inc.


Memory fault(coredump)
--------------------------------------
$ perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
  Platform:
    osname=dec_osf, osvers=4.0, archname=alpha-dec_osf
    uname='osf1 bodux1.micron.com v4.0 564 alpha '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O4', gccversion=
    cppflags='-std -D_INTRINSICS -D__LANGUAGE_C__'
    ccflags ='-std -D_INTRINSICS -D__LANGUAGE_C__'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/shlib /shlib /lib /usr/lib /usr/ccs/lib
    libs=-lm
    libc=/usr/shlib/libc.so, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym
-s -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under dec_osf
  Compiled at Mar  9 1998 12:53:22
  %ENV:
    PERLLIB="/usr/local/perl5.004_04/lib"
  @INC:
    /usr/local/perl5.004_04/lib
    /usr/local/perl5.004_04/lib/alpha-dec_osf/5.00404
    /usr/local/perl5.004_04/lib
    /usr/local/perl5.004_04/lib/site_perl/alpha-dec_osf
    /usr/local/perl5.004_04/lib/site_perl
    .
$
--------------------------------------
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib
-I/usr/local/perl5.004_04/lib/alpha-dec_osf/5.00404
-I/usr/local/perl5.004_04/lib -e 'use Test::Harness qw(&runtests
$verbose); $verbose=0; runtests @ARGV;' t/*.t
t/bcp...............Can't load
'.././blib/arch/auto/Sybase/DBlib/DBlib.so' for module Sybase::DBlib:
dlopen: Unresolved symbols at
/usr/local/perl5.004_04/lib/alpha-dec_osf/5.00404/DynaLoader.pm line
166.

 at .././blib/lib/Sybase/BCP.pm line 277
BEGIN failed--compilation aborted at .././blib/lib/Sybase/BCP.pm line
277.
BEGIN failed--compilation aborted at t/bcp.t line 12.
dubious
 Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-9
 Failed 9/9 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/bcp.t           2   512     9    9 100.00%  1-9
Failed 1/1 test scripts, 0.00% okay. 9/9 subtests failed, 0.00% okay.
*** Exit 2
Stop.
*** Exit 1
Stop.