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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Can't build sybperl on Digital Unix
Date: Dec 3 1997 11:03PM

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