I have attached the pertinent data, but wanted to expound a bit here.

 

I tried adding -ltli to the EXTRALIBS in CONFIG, as well as manually to the Mekefile, but it made no difference.

 

I tried combinations of tli, tli_r, substituted all the _r libraries, etc.  Thinking that the threaded perl is what was causing the difficulty, but nothing made any difference at all.  All builds failed the tests, and dumped core if installed and tried.

 

I have trussed it, and watched it run in several ways, and cannot seem to get my finger on a likely cause.

 

Any ideas are welcome.

 

Thanks

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi-64int
    uname='sunos unknown 5.9 generic sun4u sparc sunw,ultra-1 '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-D_REENTRANT'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/opt/SUNWspro/bin/cc', ldflags =' '
    libpth=/usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lrt -lpthread -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='-KPIC', lddlflags='-G'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES 
PERL_IMPLICIT_CONTEXT
  Built under solaris
  Compiled at Aug 30 2002 17:43:25
  @INC:
    /usr/perl5/5.8.0/sun4-solaris-thread-multi-64int
    /usr/perl5/5.8.0
    /usr/perl5/site_perl/5.8.0/sun4-solaris-thread-multi-64int
    /usr/perl5/site_perl/5.8.0
    /usr/perl5/site_perl/5.6.1
    /usr/perl5/site_perl/5.005
    /usr/perl5/site_perl
    .

BUILD==============================================

% perl Makefile.PL

Sybase OpenClient 12.0 found.
The DBD::Sybase module need access to a Sybase server to run the tests.
To clear an entry please enter 'undef'
Sybase server to use (default: TSD_UAT): User ID to log in to Sybase (default: tsd): 
Password (default: tsdpass): WARNING: LDFLAGS is not a known parameter.
Using DBI 1.30 installed in 
/usr/perl5/site_perl/5.8.0/sun4-solaris-thread-multi-64int/auto/DBI
Writing Makefile for DBD::Sybase

make


/opt/SUNWspro/bin/cc -c  -I/opt/syb12.0/OCS-12_0/include 
-I/usr/perl5/site_perl/5.8.0/sun4-solaris-thread-multi-64int/auto/DBI -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.94\" 
-DXS_VERSION=\"0.94\" -KPIC "-I/usr/perl5/5.8.0/sun4-solaris-thread-multi-64int/CORE"  
 Sybase.c
"Sybase.xs", line 44: warning: implicit function declaration: syb_set_timeout
"Sybase.xs", line 71: warning: implicit function declaration: syb_st_cancel
/opt/SUNWspro/bin/cc -c  -I/opt/syb12.0/OCS-12_0/include 
-I/usr/perl5/site_perl/5.8.0/sun4-solaris-thread-multi-64int/auto/DBI -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"0.94\" 
-DXS_VERSION=\"0.94\" -KPIC "-I/usr/perl5/5.8.0/sun4-solaris-thread-multi-64int/CORE"  
 dbdimp.c
"dbdimp.c", line 313: warning: argument #1 is incompatible with prototype:
        prototype: pointer to struct __FILE {int _cnt, pointer to unsigned char _ptr, 
pointer to unsigned char _base, unsigned char _flag, unsigned char _file, unsigned int 
__orientation :2, unsigned int __ionolock :1, unsigned int __seekable :1, unsigned int 
__filler :4} : "/usr/include/iso/stdio_iso.h", line 169
        argument : pointer to pointer to struct _PerlIO {}
Running Mkbootstrap for DBD::Sybase ()
chmod 644 Sybase.bs
rm -f blib/arch/auto/DBD/Sybase/Sybase.so
LD_RUN_PATH="/opt/syb12.0/OCS-12_0/lib:/usr/lib" /opt/SUNWspro/bin/cc  
-L/opt/syb12.0/OCS-12_0/lib -G Sybase.o dbdimp.o  -o 
blib/arch/auto/DBD/Sybase/Sybase.so   -L/opt/syb12.0/OCS-12_0/lib -lct -lcs -ltcl 
-lcomn -lintl -ldl -lm  
chmod 755 blib/arch/auto/DBD/Sybase/Sybase.so
cp Sybase.bs blib/arch/auto/DBD/Sybase/Sybase.bs
chmod 644 blib/arch/auto/DBD/Sybase/Sybase.bs
Manifying blib/man3/DBD::Sybase.3
PERL_DL_NONLAZY=1 /bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'blib/lib', 'blib/arch')" t/*.t
t/autocommit....dubious
        Test returned status 0 (wstat 11, 0xb)
t/base..........dubious
        Test returned status 0 (wstat 11, 0xb)
t/exec..........dubious
        Test returned status 0 (wstat 11, 0xb)
t/fail..........dubious
        Test returned status 0 (wstat 11, 0xb)
t/login.........dubious
        Test returned status 0 (wstat 11, 0xb)
t/main..........dubious
        Test returned status 0 (wstat 11, 0xb)
t/nsql..........dubious
        Test returned status 0 (wstat 11, 0xb)
t/place.........dubious
        Test returned status 0 (wstat 11, 0xb)
t/xblob.........dubious
        Test returned status 0 (wstat 11, 0xb)
FAILED--9 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2

Reply via email to