Skip to Content.
Sympa Menu

freetds - [freetds] Problem Building DBD-Sybase-1.07 On HPUX 11

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: <declan.watts AT bt.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Problem Building DBD-Sybase-1.07 On HPUX 11
  • Date: Fri, 13 Oct 2006 14:49:20 +0100

Folks,

I have freetds-0.93 working on a HPUX 11 server, and need to get
DBD-Sybase working with it.
I have downloaded and unpacked the 1.07 build, but ast you can see from
below, it will not build.
I have DBD-Sybase working on lots of Solaris servers, but HPUX is new to
me.
Any advice greatly appreciated.

Declan

hwovsda1 # cat CONFIG
# $Id: CONFIG,v 1.9 2003/03/31 23:55:11 mpeppler Exp $
# Configuration file for DBD::Sybase.
#
# The Makefile.PL file attempts to set reasonable defaults for the
# variables in this file.
#
# Where is the Sybase directory on your system (include files &
# libraries are expected to be found at SYBASE/include & SYBASE/lib
# If not set, uses the SYBASE environment variable.
SYBASE=$ENV{SYBASE}||'/opt/sybase'

# Additional libraries.
# Some systems require -lnsl or -lBSD.
# Solaris 2.x needs -ltli
# SGI IRIX needs -linsck (and may need need -ltli)
# DEC OSF/1 needs -ldnet_stub and may need -lsdna and -linsck or -ltli
# SunOS 4.x needs -linsck
# HP-UX 10.x needs -linsck
# AIX 3.2.5 needs -linsck
# Linux needs -linsck
# See the Sybase OpenClient Supplement for your OS/Hardware
# combination.
# If not set, will attempt to determine which libraries are needed by
scanning the
# $SYBASE/lib directory.
EXTRA_LIBS=-linsck

# DBI_INCLUDE
# DBD::Sybase needs access to some C include files that are provided
# by the DBI module. These are normally found in
$Config{sitearchexp}/auto/DBI
# but if they are in some other place on your system then you can
specify
# that directory here:
# DBI_INCLUDE=/usr/local/lib/perl5/site_perl/sun4-solaris/
DBI_INCLUDE=/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/


# BUILD_TYPE
# Set this to 64 if you are building in 64 bit mode on a platform
# that supports the 64bit OpenClient libraries (libct64.a, etc).
# BUILD_TYPE=64


# LINKTYPE
# If you wish to link DBD::Sybase statically
# into perl uncomment the line below and run the make normally. Then,
# when you run 'make test' a new perl binary will be built.
#LINKTYPE=static


hwovsda1 # env
_=/usr/bin/env
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contri
b/man:/usr/local/man/%L:/usr/local/man:/opt/mx/share/man:/opt/ldapux/sha
re/man:/opt/ldapux/ypldapd/man:/opt/upgrade/share/man/%L:/opt/upgrade/sh
are/man:/usr/dt/share/man:/opt/samba/man:/opt/pd/share/man/%L:/opt/pd/sh
are/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt
/pd/share/man:/opt/resmon/share/man:/opt/perl/man:/opt/ssh/share/man:/op
t/openssl/man:/opt/openssl/prngd/man:/opt/hparray/share/man/%L:/opt/hpar
ray/share/man:/opt/graphics/common/man:/opt/sec_mgmt/share/man:/opt/wbem
/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/perf/man/
%L:/opt/perf/man
SHLIB_PATH=/dboracle/orabase/product/1010/lib:/usr/local/freetds/lib
PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/
opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/
bin:/usr/contrib/bin/X11:/usr/bin/X11:/usr/sbin/diag/contrib:/opt/mx/bin
:/opt/graphics/common/bin:/opt/sec_mgmt/bastille/bin:/opt/wbem/bin:/opt/
wbem/sbin:/opt/perf/bin:/opt/hp-gcc64-4.1.1/bin:/opt/perl/bin:/dboracle/
orabase/product/1010/bin:/sbin:/home/root:/opt/OV/bin:/etc:/usr/lbin/sys
adm:/usr/local/freetds/bin
COLUMNS=146
HTTP_PROXY=http://proxy.intra.bt.com:8080
EDITOR=vi
HISTFILE=/.sh_history
LOGNAME=root
ORACLE_SID=@OVSDDEV
ERASE=^H
PS1=hwovsda1 #
SYBASE=/usr/local/freetds
SHELL=/sbin/sh
HOME=/
TERM=xterm
LD_LIBRARY_PATH=/dboracle/orabase/product/1010/lib
ORACLE_HOME=/dboracle/orabase/product/1010
PWD=/tmp/DBD-Sybase-1.07
ORACLE_USERID=bridgeint/bridgeint
TZ=GMT0BST
http_proxy=http://proxy.intra.bt.com:8080
LINES=51
hwovsda1 # perl Makefile.PL
Set up gcc environment - 4.1.1
Unknown Client Library version - assuming FreeTDS.

By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where
available)
when 'AutoCommit' is turned off. Versions 1.04 and older instead managed
the transactions explicitly with a 'BEGIN TRAN' before the first DML
statement. Using the 'CHAINED' mode is preferable as it is the way that
Sybase implements AutoCommit handling for both its ODBC and JDBC
drivers.

Use 'CHAINED' mode by default (Y/N) [Y]:

Running in threaded mode - looking for _r libraries...
No thread-safe Sybase libraries 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: SYBASE):
User ID to log in to Sybase (default: sa):
Password (default: undef): Sybase database to use on SYBASE (default:
undef):

* Writing login information, including password, to file PWD.

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lcs
Note (probably harmless): No library found for -ltcl
Note (probably harmless): No library found for -lcomn
Note (probably harmless): No library found for -lintl
Note (probably harmless): No library found for -lblk
Note (probably harmless): No library found for -ldl
Using DBI 1.50 (for perl 5.008008 on PA-RISC1.1-thread-multi) installed
in /opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/auto/DBI/
Writing Makefile for DBD::Sybase
hwovsda1 #


hwovsda1 # make
cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod
cp Sybase.pm blib/lib/DBD/Sybase.pm
/usr/bin/perl -p -e "s/~DRIVER~/Sybase/g"
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/auto/DBI//Drive
r.xst > Sybase.xsi
/usr/bin/perl /opt/perl_32/lib/5.8.8/ExtUtils/xsubpp -typemap
/opt/perl_32/lib/5.8.8/ExtUtils/typemap Sybase.xs > Sybase.xsc && mv
Sybase.xsc Sybase.c
gcc -c -I/usr/local/freetds/include -DNO_THREADS
-I/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi//auto/DBI
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC
-DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -DVERSION=\"1.07\"
-DXS_VERSION=\"1.07\" -fPIC
"-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" Sybase.c
gcc -c -I/usr/local/freetds/include -DNO_THREADS
-I/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi//auto/DBI
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC
-DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -DVERSION=\"1.07\"
-DXS_VERSION=\"1.07\" -fPIC
"-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" dbdimp.c
dbdimp.c: In function '_dbd_rebind_ph':
dbdimp.c:4779: warning: passing argument 2 of 'to_binary' from
incompatible pointer type
Running Mkbootstrap for DBD::Sybase ()
chmod 644 Sybase.bs
rm -f blib/arch/auto/DBD/Sybase/Sybase.sl
LD_RUN_PATH="/usr/local/freetds/lib" gcc -L/usr/local/freetds/lib
-shared -static-libgcc -fPIC Sybase.o dbdimp.o -o
blib/arch/auto/DBD/Sybase/Sybase.sl \
-L/usr/local/freetds/lib -lct -ltds -lm \

chmod 755 blib/arch/auto/DBD/Sybase/Sybase.sl
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
hwovsda1 #

hwovsda1 # make test
/usr/bin/perl /opt/perl_32/lib/5.8.8/ExtUtils/xsubpp -typemap
/opt/perl_32/lib/5.8.8/ExtUtils/typemap Sybase.xs > Sybase.xsc && mv
Sybase.xsc Sybase.c
gcc -c -I/usr/local/freetds/include -DNO_THREADS
-I/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi//auto/DBI
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC
-DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -DVERSION=\"1.07\"
-DXS_VERSION=\"1.07\" -fPIC
"-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" Sybase.c
rm -f blib/arch/auto/DBD/Sybase/Sybase.sl
LD_RUN_PATH="/usr/local/freetds/lib" gcc -L/usr/local/freetds/lib
-shared -static-libgcc -fPIC Sybase.o dbdimp.o -o
blib/arch/auto/DBD/Sybase/Sybase.sl \
-L/usr/local/freetds/lib -lct -ltds -lm \

chmod 755 blib/arch/auto/DBD/Sybase/Sybase.sl
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autocommit....


t/autocommit....ok 1/9/usr/lib/dld.sl: Bad magic number for shared
library: blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error

# Failed test 'use DBD::Sybase;'
# in t/autocommit.t at line 18.



t/autocommit....NOK 2# Tried to use 'DBD::Sybase'.
# Error: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.sl' for
module DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/autocommit.t line 18.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Undefined subroutine &DBD::Sybase::db::_login called at
blib/lib/DBD/Sybase.pm line 94.
# Looks like you planned 9 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/autocommit....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
Failed 8/9 tests, 11.11% okay
t/base........../usr/lib/dld.sl: Bad magic number for shared library:
/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error
install_driver(Sybase) failed: Can't load
'/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl' for module
DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
at (eval 4) line 3
Compilation failed in require at (eval 4) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/base.t line 18



t/base..........ok 1/5


t/base..........dubious
Test returned status 8 (wstat 2048, 0x800)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/exec..........


t/exec..........ok 1/22/usr/lib/dld.sl: Bad magic number for shared
library: blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error

# Failed test 'use DBD::Sybase;'
# in t/exec.t at line 18.



t/exec..........NOK 2# Tried to use 'DBD::Sybase'.
# Error: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.sl' for
module DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/exec.t line 18.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Undefined subroutine &DBD::Sybase::db::_login called at
blib/lib/DBD/Sybase.pm line 94.
# Looks like you planned 22 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/exec..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-22
Failed 21/22 tests, 4.55% okay
t/fail..........


t/fail..........ok 1/12/usr/lib/dld.sl: Bad magic number for shared
library: blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error

# Failed test 'use DBD::Sybase;'
# in t/fail.t at line 16.



t/fail..........NOK 2# Tried to use 'DBD::Sybase'.
# Error: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.sl' for
module DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/fail.t line 16.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Undefined subroutine &DBD::Sybase::db::_login called at
blib/lib/DBD/Sybase.pm line 94.
# Looks like you planned 12 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/fail..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-12
Failed 11/12 tests, 8.33% okay
t/login.........


t/login.........ok 1/4/usr/lib/dld.sl: Bad magic number for shared
library: blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error

# Failed test 'use DBD::Sybase;'
# in t/login.t at line 18.



t/login.........NOK 2# Tried to use 'DBD::Sybase'.
# Error: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.sl' for
module DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/login.t line 18.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Undefined subroutine &DBD::Sybase::db::_login called at
blib/lib/DBD/Sybase.pm line 94.
# Looks like you planned 4 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/login.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/main..........


t/main..........ok 1/33/usr/lib/dld.sl: Bad magic number for shared
library: /tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error

# Failed test 'use DBD::Sybase;'
# in t/main.t at line 18.



t/main..........NOK 2# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl' for module
DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/main.t line 18.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Undefined subroutine &DBD::Sybase::db::_login called at
/tmp/DBD-Sybase-1.07/blib/lib/DBD/Sybase.pm line 94.
# Looks like you planned 33 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/main..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-33
Failed 32/33 tests, 3.03% okay
t/multi_sth.....


t/multi_sth.....ok 1/43/usr/lib/dld.sl: Bad magic number for shared
library: /tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error

# Failed test 'use DBD::Sybase;'



t/multi_sth.....NOK 2# in t/multi_sth.t at line 16.
# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl' for module
DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/multi_sth.t line 16.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Undefined subroutine &DBD::Sybase::db::_login called at
/tmp/DBD-Sybase-1.07/blib/lib/DBD/Sybase.pm line 94.
# Looks like you planned 43 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/multi_sth.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-43
Failed 42/43 tests, 2.33% okay
t/nsql..........


t/nsql..........ok 1/7/usr/lib/dld.sl: Bad magic number for shared
library: /tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error




t/nsql..........NOK 2# Failed test 'use DBD::Sybase;'
# in t/nsql.t at line 15.
# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl' for module
DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/nsql.t line 15.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Undefined subroutine &DBD::Sybase::db::_login called at
/tmp/DBD-Sybase-1.07/blib/lib/DBD/Sybase.pm line 94.
# Looks like you planned 7 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/nsql..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
t/place.........


t/place.........ok 1/13/usr/lib/dld.sl: Bad magic number for shared
library: /tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error

# Failed test 'use DBD::Sybase;'
# in t/place.t at line 13.



t/place.........NOK 2# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl' for module
DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/place.t line 13.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Undefined subroutine &DBD::Sybase::db::_login called at
/tmp/DBD-Sybase-1.07/blib/lib/DBD/Sybase.pm line 94.
# Looks like you planned 13 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/place.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-13
Failed 12/13 tests, 7.69% okay
t/thread......../usr/lib/dld.sl: Bad magic number for shared library:
/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error
Can't load '/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl'
for module DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
at t/thread.t line 18
Compilation failed in require at t/thread.t line 18.
BEGIN failed--compilation aborted at t/thread.t line 18.



t/thread........dubious
Test returned status 8 (wstat 2048, 0x800)
t/xblk..........


t/xblk..........ok 1/62/usr/lib/dld.sl: Bad magic number for shared
library: /tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error

# Failed test 'use DBD::Sybase;'



t/xblk..........NOK 2# in t/xblk.t at line 15.
# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl' for module
DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/xblk.t line 15.
Can't locate auto/DBD/Sybase/set_cslib_c.al in @INC (@INC contains: t
/tmp/DBD-Sybase-1.07/blib/lib /tmp/DBD-Sybase-1.07/blib/arch
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi /opt/perl_32/lib/5.8.8
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi
/opt/perl_32/lib/site_perl/5.8.8 /opt/perl_32/lib/site_perl
/opt/perl_32/lib/vendor_perl/5.8.8/PA-RISC1.1-thread-multi
/opt/perl_32/lib/vendor_perl/5.8.8 /opt/perl_32/lib/vendor_perl .) at
t/xblk.t line 36
# Looks like you planned 62 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/xblk..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-62
Failed 61/62 tests, 1.61% okay
t/xblob.........


t/xblob.........ok 1/11/usr/lib/dld.sl: Bad magic number for shared
library: /tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl
/usr/lib/dld.sl: Exec format error




t/xblob.........NOK 2# Failed test 'use DBD::Sybase;'
# in t/xblob.t at line 16.
# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/tmp/DBD-Sybase-1.07/blib/arch/auto/DBD/Sybase/Sybase.sl' for module
DBD::Sybase: Exec format error at
/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
# at (eval 7) line 2
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at t/xblob.t line 16.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Use of uninitialized value in subroutine entry at
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/DBI.pm line
1182.
Undefined subroutine &DBD::Sybase::db::_login called at
/tmp/DBD-Sybase-1.07/blib/lib/DBD/Sybase.pm line 94.
# Looks like you planned 11 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.



t/xblob.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
------------------------------------------------------------------------
-
t/autocommit.t 255 65280 9 15 166.67% 2-9
t/base.t 8 2048 5 4 80.00% 4-5
t/exec.t 255 65280 22 41 186.36% 2-22
t/fail.t 255 65280 12 21 175.00% 2-12
t/login.t 255 65280 4 5 125.00% 2-4
t/main.t 255 65280 33 63 190.91% 2-33
t/multi_sth.t 255 65280 43 83 193.02% 2-43
t/nsql.t 255 65280 7 11 157.14% 2-7
t/place.t 255 65280 13 23 176.92% 2-13
t/thread.t 8 2048 ?? ?? % ??
t/xblk.t 255 65280 62 121 195.16% 2-62
t/xblob.t 255 65280 11 19 172.73% 2-11
Failed 12/12 test scripts, 0.00% okay. 208/221 subtests failed, 5.88%
okay.
*** Error exit code 255

Stop.
hwovsda1 #




  • [freetds] Problem Building DBD-Sybase-1.07 On HPUX 11, declan.watts, 10/13/2006

Archive powered by MHonArc 2.6.24.

Top of Page