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: "Wechsler, Steven M" <WechslerSM at bernstein dot com>
Subject: Still can't build sybperl on Digital Unix
Date: Dec 5 1997 3:31PM

>It got a little farther this time.  Here's what happened after I changed the
>DBlib makefile:
>
>PERL_DL_NONLAZY=1 /usr/local/bin/perl5 -I.././blib/arch -I.././blib/lib
>-I/usr/l
>ocal/lib/perl5/alpha-dec_osf/5.00401 -I/usr/local/lib/perl5 -e 'use
>Test::Harnes
>s qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
>t/bcp...............ok
>All tests successful.
>Files=1,  Tests=9,  1 secs ( 0.52 cusr  0.10 csys =  0.62 cpu)
>PERL_DL_NONLAZY=1 /usr/local/bin/perl5 -I.././blib/arch -I.././blib/lib
>-I/usr/l
>ocal/lib/perl5/alpha-dec_osf/5.00401 -I/usr/local/lib/perl5 -e 'use
>Test::Harnes
>s qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
>t/ctlib.............Can't load '.././blib/arch/auto/Sybase/CTlib/CTlib.so'
>for m
>odule Sybase::CTlib: dlopen: cannot load
>.././blib/arch/auto/Sybase/CTlib/CTlib.
>so at /usr/local/lib/perl5/alpha-dec_osf/5.00401/DynaLoader.pm line 155.
>
> at t/ctlib.t line 8
>BEGIN failed--compilation aborted at t/ctlib.t line 8.
>dubious
>        Test returned status 2 (wstat 512)
>DIED. FAILED tests 1-30
>        Failed 30/30 tests, 0.00% okay
>t/cursor............Can't load '.././blib/arch/auto/Sybase/CTlib/CTlib.so'
>for m
>odule Sybase::CTlib: dlopen: cannot load
>.././blib/arch/auto/Sybase/CTlib/CTlib.
>so at /usr/local/lib/perl5/alpha-dec_osf/5.00401/DynaLoader.pm line 155.
>
> at t/cursor.t line 12
>BEGIN failed--compilation aborted at t/cursor.t line 12.
>dubious
>        Test returned status 2 (wstat 512)
>DIED. FAILED tests 1-22
>        Failed 22/22 tests, 0.00% okay
>Failed Test  Status Wstat Total Fail  Failed  List of failed
>-----------------------------------------------------------------------------
>-
>t/ctlib.t         2   512    30   30 100.00%  1-30
>t/cursor.t        2   512    22   22 100.00%  1-22
>Failed 2/2 test scripts, 0.00% okay. 52/52 subtests failed, 0.00% okay.
>*** Exit 2
>Stop.
>*** Exit 1
>Stop.
>
>Thanks,
>
>Steve
>
>--
>Steven Wechsler/Sybase DBA/Sanford C. Bernstein 
>WechslerSM@bernstein.com 
>
>Support the Anti-SPAM amendment: http://www.cauce.org
>
>-----Original Message-----
>From:	Michael Peppler [SMTP:mpeppler@mbay.net]
>Sent:	Wednesday, December 03, 1997 6:03 PM
>To:	SYBPERL-L@trln.lib.unc.edu
>Subject:	Re: Can't build sybperl on Digital Unix
>
>You're nearly there.
>
>Now edit the DBlib/Makefile and *remove* the -lsdna that you find
>for the EXTRALIBS/LDLOADLIBS lines, and run make again. It should
>work this time.
>
>(For some reason linking libsybdb.a and libsdna.a causes something to
>fail in the DBlib side of things on Dec Unix, hence the editing
>steps. Maybe I'll fix it for 2.09).
>
>Michael
>
>
>Wechsler, Steven M wrote:
>> 
>> I tried again with -lsdna; don't know why it didn't work last time.
>> make test didn't even get as far this time:
>> 
>> PERL_DL_NONLAZY=1 /usr/local/bin/perl5 -I.././blib/arch -I.././blib/lib
>> -I/usr/l
>> ocal/lib/perl5/alpha-dec_osf/5.00401 -I/usr/local/lib/perl5 -e 'use
>> Test::Harnes
>> s qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
>> t/bcp...............Can't load
>> '.././blib/arch/auto/Sybase/DBlib/DBlib.so' for m
>> odule Sybase::DBlib: dlopen: cannot load
>> .././blib/arch/auto/Sybase/DBlib/DBlib.
>> so at /usr/local/lib/perl5/alpha-dec_osf/5.00401/DynaLoader.pm line 155.
>> 
>>  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)
>> 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.
>> 
>> Steve
>> --
>> Steven Wechsler/Sybase DBA/Sanford C. Bernstein
>> WechslerSM@bernstein.com
>> 
>> Support the Anti-SPAM amendment: http://www.cauce.org
>> 
>> >-----Original Message-----
>> >From:  Michael Peppler [SMTP:mpeppler@mbay.net]
>> >Sent:  Tuesday, December 02, 1997 6:57 PM
>> >To:    SYBPERL-L@trln.lib.unc.edu
>> >Subject:       Re: Can't build sybperl on Digital Unix
>> >
>> >
>> >I'm pretty sure that these symbols are defined in the libsdna.a
>> >library, which *shoul* exist on your system. Are you *sure*
>> >that it's not there?
>> >
>> >Michael
>> >--
>> >Michael Peppler       -||-  Data Migrations Inc.
>> >mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler
>
>-- 
>Michael Peppler       -||-  Data Migrations Inc.
>mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler