Skip to Content.
Sympa Menu

freetds - RE: Version 0.45

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: DSAFIAN AT uoft02.utoledo.edu
  • To: freetds AT franklin.oit.unc.edu
  • Subject: RE: Version 0.45
  • Date: Thu, 24 Jun 1999 09:23:31 -0400 (EDT)


You should also search through your perl distribution and remove any old
sybase
and dbd libraries, as you might be linking in bogus versions of these each
time
you build. Try in your usr/lib/perl5/site_perl/ directories -- there will be
a couple different subdirectories you need to check.


From: IN%"freetds AT franklin.oit.unc.edu" 24-JUN-1999 03:45:43.69 24-JUN-1999
03:44:59.99
To: IN%"freetds AT franklin.oit.unc.edu"
CC:
Subj: [freetds] RE: Version 0.45

Return-path: <bounce-freetds-92737 AT franklin.oit.unc.edu>
Return-path: craigb AT ibis.com.au
Received: from franklin.oit.unc.edu ("port 38847"@[152.2.22.59])
by uoft02.utoledo.edu (PMDF V5.2-32 #34084)
with SMTP id <01JCRJ3W3GVA001LHM AT uoft02.utoledo.edu> for
DSAFIAN AT uoft02.utoledo.edu (ORCPT rfc822;dave.safian AT utoledo.edu); Thu,
24 Jun 1999 03:45:41 EDT
Received: from ibismail.ibis.com.au ([203.16.173.111])
by franklin.oit.unc.edu with SMTP (Lyris Server version 3.0); Thu,
24 Jun 1999 03:45:10 -0400
Received: by IBISMAIL with Internet Mail Service (5.5.1960.3)
id <NQYR2HQT>; Thu, 24 Jun 1999 17:25:52 +1000
X-URL: <http://sunsite.unc.edu/freetds/>
Date: Thu, 24 Jun 1999 17:25:49 +1000
From: Craig Burton <craigb AT ibis.com.au>
Subject: [freetds] RE: Version 0.45
Sender: bounce-freetds-92737 AT franklin.oit.unc.edu
To: TDS Development Group <freetds AT franklin.oit.unc.edu>
Reply-to: TDS Development Group <freetds AT franklin.oit.unc.edu>
Message-id:

<LYR92737-10363-1999.06.24-03.45.17--dave.safian#utoledo.edu AT franklin.oit.unc.edu>
MIME-version: 1.0
Content-type: text/plain
Content-transfer-encoding: 7BIT
Precedence: bulk
X-Message-Id: <C1D68F983163D211A75E00104B0DA6A211FAAB@IBISMAIL>
List-Owner: <mailto:owner-freetds AT franklin.oit.unc.edu>
List-Subscribe: <mailto:subscribe-freetds AT franklin.oit.unc.edu>
List-Unsubscribe: <mailto:$subst('Email.Unsub')>
X-List-Host: Mailing-Lists Operated for SunSITE Contributors
List-Software: Lyris Server version 3.0
Original-recipient: rfc822;dave.safian AT utoledo.edu

perl has all the things it isn't meant to!

[root@bird DBlib]# perl -V:libs
libs='-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt';

I expect this means I need to edit the perl makefile and
make it again, without this stuff. After that, I will
do as you suggest here. Will that fix it?

-----Original Message-----
From: bounce-freetds-92240 AT franklin.oit.unc.edu
[mailto:bounce-freetds-92240 AT franklin.oit.unc.edu]On Behalf Of Michael
Peppler
Sent: Thursday, June 24, 1999 10:30 AM
To: TDS Development Group
Subject: [freetds] RE: Version 0.45


Craig Burton writes:
> Yes, had reset the CONFIG so that install wanted to make
> CTlib - silly, now it installs.
>
> This doesn't seem to have fixed the problem:
> [root@bird DBlib]# perl test.pl
> Can't locate loadable object for module Sybase::DBlib in @INC (@INC
> contains: /usr/lib/perl5
> /i386-linux/5.00404 /usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux
> /usr/lib/perl5/site_p
> erl . /usr/lib/perl5/site_perl/i386-linux/auto/DBD) at test.pl line 3
> BEGIN failed--compilation aborted at test.pl line 3.
>
> I recall the 'Ken Oster' instructions for sybperl

Unfortunately those instructions are seriously out-of-date. They were
valid for the client libraries that originated at Sybase circa 1995...

However, to get around your problem add, at the top of DBlib.xs:

#define DBIORDESC(x) NULL
#define DBIOWDESC(x) NULL

These are pretty low-level calls, and I doubt that you will need
access to them...

>
> Is there some way to 'make clean' of all this and I could
> restart with DBlib alone? Have now tried DBD-SYbase 0.15, 0.16,
0.17,
> with sybase libs pre-10.0 and the current release, and have
> tried the various components of sybperl.
>
> My perl is a pretty standard one, I haven't linked anything
> else into it. Perhaps remove / reinstall perl?

First make sure that perl is really just that, and that it isn't
linked with -ldb or -lndbm (check with "perl -V:libs").

Then in the sybperl directory run make clean, and remove any 'perl'
binary that might exist there.

Set CONFIG correctly (ie CTLIBVS=0)
Now rebuild, starting with perl Makefile.PL

Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler AT peppler.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list AT isug.com

---
You are currently subscribed to freetds as: craigb AT ibis.com.au
To unsubscribe, forward this message to
$subst('Email.Unsub')

---
You are currently subscribed to freetds as: dave.safian AT utoledo.edu
To unsubscribe, forward this message to $subst('Email.Unsub')



_______________________________________________________________________________
If con is the opposite of pro, then is Congress the opposite of progress?

Dave Safian
Information Technology
University of Toledo
Dave.Safian AT UToledo.Edu





Archive powered by MHonArc 2.6.24.

Top of Page