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: Joseph C King <jking at chablis dot cos dot com>
Subject: Re: Problems With Sybperl 2.08 on DU 4.0B
Date: Dec 15 1997 10:28PM

Sorry still no luck.....

We are using client library 10.0.4 would upgrading to 11.x.x help?

Thanks for all your help with this we appreciate it a great deal!!!

I have included more info below.

Joe

Makefile (Relavent Part from ./DBlib/Makefile

EXTRALIBS = -L/sybase/lib -lsybdb -linsck -ldnet_stub  -lm
LDLOADLIBS = -L/sybase/lib -lsybdb -linsck -ldnet_stub -lm

make from ./DBlib/
cc -c -I/sybase/include -std -D_INTRINSICS -D__LANGUAGE_C__ -O4
-DVERSION=\"2.08\"  -DXS_VERSION=\"2.08\"
-I/usr/local/lib/perl5/alpha-dec_osf/5.00404/CORE -DDBLIBVS=1000
-DSYBPLVER='"2.08"' -DDO_TIE DBlib.c
cc: Warning: DBlib.xs, line 500: In this statement, the referenced type of
the pointer value "str" is "char", which is not compatible with "unsigned
char".
    if (dbconvert(NULL, SYBCHAR, str, -1, SYBDATETIME,
--------^
cc: Warning: DBlib.xs, line 513: In this statement, the referenced type of
the pointer value "buff" is "char", which is not compatible with "unsigned
char".
    if (dbconvert(dt->dbproc, SYBDATETIME, (BYTE*)&dt->date,
sizeof(DBDATETIME),
--------^
cc: Warning: DBlib.xs, line 562: In this statement, the referenced type of
the pointer value "str" is "char", which is not compatible with "unsigned
char".
    if (dbconvert(NULL, SYBCHAR, str, -1, SYBMONEY,
--------^
cc: Warning: DBlib.xs, line 575: In this statement, the referenced type of
the pointer value "buff" is "char", which is not compatible with "unsigned
char".
    if (dbconvert(m->dbproc, SYBMONEY, (BYTE*)&m->mn, sizeof(DBMONEY),
--------^
cc: Warning: DBlib.xs, line 4130: In this statement, the referenced type of
the pointer value "buf" is "char", which is not compatible with "unsigned
char".
    RETVAL = dbmoretext(dbproc, size, buf);
-------------^
Running Mkbootstrap for Sybase::DBlib ()
chmod 644 DBlib.bs
ar cr tmp.a DBlib.o
: tmp.a
LD_RUN_PATH="/sybase/lib:/usr/shlib" ld -o
.././blib/arch/auto/Sybase/DBlib/DBlib.so  -L/sybase/lib -shared
-expect_unresolved "*" -O4 -msym -s -L/usr/local/lib -all tmp.a -none
-L/sybase/lib -lsybdb -linsck -ldnet_stub  -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


------
make test from ./DBlib
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I.././blib/arch -I.././blib/lib
-I/usr/local/lib/perl5/alpha-dec_osf/5.00404 -I/usr/local/lib/perl5 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/dblib.............Can't load '.././blib/arch/auto/Sybase/DBlib/DBlib.so'
for module Sybase::DBlib: dlopen: cannot load
.././blib/arch/auto/Sybase/DBlib/DBlib.so at
/usr/local/lib/perl5/alpha-dec_osf/5.00404/DynaLoader.pm line 166.

 at t/dblib.t line 7
BEGIN failed--compilation aborted at t/dblib.t line 7.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/money.............Can't load '.././blib/arch/auto/Sybase/DBlib/DBlib.so'
for module Sybase::DBlib: dlopen: cannot load
.././blib/arch/auto/Sybase/DBlib/DBlib.so at
/usr/local/lib/perl5/alpha-dec_osf/5.00404/DynaLoader.pm line 166.

 at t/money.t line 7
BEGIN failed--compilation aborted at t/money.t line 7.
dubious
        Test returned status 2 (wstat 512, 0x200)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/local/lib/perl5/Test/Harness.pm line 222.

make test from ./
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I.././blib/arch -I.././blib/lib
-I/usr/local/lib/perl5/alpha-dec_osf/5.00404 -I/usr/local/lib/perl5 -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: cannot load
.././blib/arch/auto/Sybase/DBlib/DBlib.so at
/usr/local/lib/perl5/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.



At 12:23 PM 12/15/97 -0800, you wrote:
>Edit DBlib/Makefile, and remove all occurances of -lsdna, then
>re-run make/make test.
>
>Joseph C King wrote:
>> 
>> Nope..... here is some updated info.
>> 
>> Sorry for being a pain...... Joe
>> 
>
>> make test
>> PERL_DL_NONLAZY=1 /usr/local/bin/perl -I.././blib/arch -I.././blib/lib
>> -I/usr/local/lib/perl5/alpha-dec_osf/5.00404 -I/usr/local/lib/perl5 -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: cannot load
>
>Michael
>-- 
>Michael Peppler       -||-  Data Migrations Inc.
>mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler
>
>
--
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Joseph C. King              |
Systems Administrator       | 
Community of Science, Inc.  |
Baltimore, MD               |
(410)563-2378  (V)          |
(410)563-5389  (F)          |