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: "Brian Barnes" <brianb at i-tel dot com>
Subject: Re: Fw: Sybperl install problems
Date: Aug 15 2001 10:53PM

Michael, thanks for your help.  I'm now having a new problem and wondered if
you might have a response.  Error with DBSETLUSER.

PERL_DL_NONLAZY=1
/usr/bin/perl -I../blib/arch -I../blib/lib -I/usr/lib/perl5/5.00503/i586-lin
ux -I/usr/lib/perl5/5.00503 -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/lib/perl5/5.00503/i586-linux/DynaLoader.pm line 169.

 at ../blib/lib/Sybase/BCP.pm line 278
BEGIN failed--compilation aborted at ../blib/lib/Sybase/BCP.pm line 278.
BEGIN failed--compilation aborted at t/bcp.t line 14.
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 `/home/brianb/download/sybperl/sybperl-2.13/BCP'
make: *** [test] Error 2

Thanks again for your help.

Brian

----- Original Message -----
From: "Michael Peppler" 
To: "SybPerl Discussion List" 
Sent: Thursday, August 02, 2001 2:50 PM
Subject: Re: Fw: Sybperl install problems


> Brian Barnes writes:
>  > In a nutshell I'm trying to install sybperl using freetds to connect to
a MSSQL 2000 server.  During make test I receive the error "undefined
symbol: dbsetmaxprocs".  I've also received other undefined symbol errors
when trying other settings.
>  >
>
> Try FreeTDS 0.52 - I think it fixes that problem.
>
> Alternatively, you can add
>
>    void dbsetmaxprocs(i)
>    int i;
>    {
>    }
>
> and
>
>    int dbgetmaxprocs()
>    {
>       return 25;
>    }
>
> somewhere at the top of DBlib.xs and rebuild.
>
> Michael
> --
> Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
> mpeppler@peppler.org - mpeppler@mbay.net
> International Sybase User Group - http://www.isug.com
>
>