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: Scott Sutherland <sut92199 at ncs dot com>
Subject: DBD::Sybase install problem
Date: Apr 9 1998 9:47PM

I am getting a connection failure while performing 'make test' on
DBD::Sybase.  I have verified the user name, password, and server name.
The interfaces file is fine.  Sybperl::CTlib works fine.

Seems like I'm missing a library, does AIX 4.2 require something other the
libinsck and libtli?

Thanks in advance...

Scott

Here are my details:

--- From Config:
SYBASE=/sybase/v10.0.2.7
EXTRA_LIBS=-ltli -linsck
DBI_INCLUDE=/usr/local/perl5.004/test-lib/lib/site_perl/aix/auto/DBI

--- Perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
  Platform:
    osname=aix, osvers=4.2.0.0, archname=aix
    uname='aix ames 2 4 000013948000 '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.7.2.2
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-I/usr/local/inclu'
    ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-I/usr/local/inclu'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=1, d_casti32=define, d_castneg=undef
    intsize=4, alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-ldbm -ldl -lld -lm -lc -lbsd -lPW
    libc=/lib/libc.a, so=a
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker
-bE:perl.ex'
    cccdlflags='-fpic', lddlflags='-H512 -T512 -bhalt:4 -bM:SRE
-bI:$(PERL_INC)'


Characteristics of this binary (from libperl):
  Built under aix
  Compiled at Oct 24 1997 18:00:26
  %ENV:

PERL5LIB="/usr/local/perl5.004/test-lib/lib/aix/5.00404:/usr/local/perl5.00"
    PERLDB_RL="no"
  @INC:
    /usr/local/perl5.004/test-lib/lib/aix/5.00404
    /usr/local/perl5.004/test-lib/lib/
    /usr/local/perl5.004/test-lib/lib/site_perl/aix
    /usr/local/perl5.004/test-lib/lib/site_perl
    /usr/local/perl5.004/lib/aix/5.00404
    /usr/local/perl5.004/lib
    /usr/local/perl5.004/lib/site_perl/aix
    /usr/local/perl5.004/lib/site_perl
    .

--- Sybase Info:

Server version 11.0.2
Open Client 10.0.2

--- Test Error Message:

PERL_DL_NONLAZY=1 /usr/local/perl5.004/bin/perl -I./blib/arch -I./blib/lib
-I/ut
t/base..............ok
t/main..............Unable for connect to SYBDEV: Open Client Message:
Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (4) NUMBER = (3)
Message String: ct_connect(): network packet layer: internal net library
error:d
dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-12
        Failed 11/12 tests, 8.33% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/main.t          2   512    12   11  91.67%  2-12
Failed 1/2 test scripts, 50.00% okay. 11/17 subtests failed, 35.29% okay.
make: *** [test_dynamic] Error 2

--
Scott Sutherland                          National Computer Systems
(319) 354-9200                        Measurement Services Division
                             Iowa City, Ia
#include "standard-disclaimer.h"