Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sybperl fails in make test on linux 7...why?

4 views
Skip to first unread message

ade talabi

unread,
Dec 6, 2001, 12:23:20 PM12/6/01
to
This is the problems I am getting where the 9 tests were failing
because, there is no DBSETLUSER found in any of the libraries.


Michael, I have tried all the combinations, read your pages, done all
teh CONFIG, the locales and have dowwnload and tried sybperl from
version 2-10 to 2-13...

I think the poroblem might be easy, but I just can not find it.

Regards,

Ade Talabi

====================================================================

(ade@localhost:DBlib)$ make
cc -c -I/opt/sybase/include -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.13\"
-DXS_VERSION=\"2.13\" -fpic
-I/usr/local/lib/perl5/5.6.1/i686-linux/CORE -DDBLIBVS=1000
-DSYBPLVER='"2.13"' -DDO_TIE DBlib.c
DBlib.xs: In function `XS_Sybase__DBlib_dbbylist':
DBlib.xs:5477: warning: passing arg 3 of `dbbylist' makes integer from
pointer without a cast
Running Mkbootstrap for Sybase::DBlib ()
chmod 644 DBlib.bs
rm -f ../blib/arch/auto/Sybase/DBlib/DBlib.so
LD_RUN_PATH="/opt/sybase/lib:/lib" cc -L/opt/sybase/lib -shared
-L/usr/local/lib DBlib.o -lsybdb -o
../blib/arch/auto/Sybase/DBlib/DBlib.so -L/opt/sybase/lib -lsybdb
-linsck -lm
chmod 755 ../blib/arch/auto/Sybase/DBlib/DBlib.so
cp DBlib.bs ../blib/arch/auto/Sybase/DBlib/DBlib.bs
chmod 644 ../blib/arch/auto/Sybase/DBlib/DBlib.bs
Manifying ../blib/man3/Sybase::DBlib.3
(ade@localhost:DBlib)$ cd ..
(ade@localhost:sybperl-2.13)$ make test
make[1]: Entering directory `/tmp/ade/sybperl-2.13/BCP'
make[1]: Leaving directory `/tmp/ade/sybperl-2.13/BCP'
make[1]: Entering directory `/tmp/ade/sybperl-2.13/CTlib'
make[1]: Leaving directory `/tmp/ade/sybperl-2.13/CTlib'
make[1]: Entering directory `/tmp/ade/sybperl-2.13/DBlib'
make[1]: Leaving directory `/tmp/ade/sybperl-2.13/DBlib'
make[1]: Entering directory `/tmp/ade/sybperl-2.13/Sybperl'
make[1]: Leaving directory `/tmp/ade/sybperl-2.13/Sybperl'
make[1]: Entering directory `/tmp/ade/sybperl-2.13/BCP'
PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib
-I/usr/local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib/perl5/5.6.1
-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:
undefined symbol: DBSETLUSER at
/usr/local/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206.
at ../blib/lib/Sybase/BCP.pm line 278
Compilation failed in require at ../blib/lib/Sybase/BCP.pm line 278.
BEGIN failed--compilation aborted at ../blib/lib/Sybase/BCP.pm line
278.
Compilation failed in require at t/bcp.t line 14.
BEGIN failed--compilation aborted at t/bcp.t line 14.
t/bcp...............dubious
Test returned status 255 (wstat 65280, 0xff00)
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 255 65280 9 9 100.00% 1-9
Failed 1/1 test scripts, 0.00% okay. 9/9 subtests failed, 0.00% okay.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory `/tmp/ade/sybperl-2.13/BCP'
make: *** [test] Error 2
(ade@localhost:sybperl-2.13)$ !ldd
bash: !ldd: event not found
(ade@localhost:sybperl-2.13)$ ldd `which perl`
libnsl.so.1 => /lib/libnsl.so.1 (0x40020000)
libdl.so.2 => /lib/libdl.so.2 (0x40037000)
libm.so.6 => /lib/libm.so.6 (0x4003a000)
libc.so.6 => /lib/libc.so.6 (0x4005a000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4017f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

~

0 new messages