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 peppler dot org>
Subject: Re: Fw: Sybperl install problems
Date: Aug 17 2001 8:30PM

Brian Barnes writes:
 > I've determined that all of the problems I'm having making DBlib are due to
 > the include and lib files that freetds installs.  I have no problems making
 > DBlib with Sybase.  Are there any special instructions to make DBlib work
 > with Freetds?  I'm haven't been able to find any.

Try the freetds mailing list....

Michael


 > 
 > ----- Original Message -----
 > From: "Michael Peppler" 
 > To: "SybPerl Discussion List" 
 > Sent: Wednesday, August 15, 2001 4:58 PM
 > Subject: Re: Fw: Sybperl install problems
 > 
 > 
 > > Brian Barnes writes:
 > >  > 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
 > >
 > > This doesn't make any sense... DBSETLUSER() is a macro, defined in
 > > sybdb.h:
 > >
 > > #define DBSETLUSER(a,b)         dbsetlname((a), (b), DBSETUSER)
 > >
 > > so it looks like you have something else that is wrong, probably in
 > > the include files that gcc picks up when it is building the DBlib.so
 > > file.
 > >
 > > Michael
 > >
 > >
 > >  > ----- 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
 > >  > >
 > >  > >
 > >  >
 > >
 > > --
 > > Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
 > > mpeppler@peppler.org - mpeppler@mbay.net
 > > International Sybase User Group - http://www.isug.com
 > >
 > >
 > 

-- 
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
mpeppler@peppler.org - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com