Skip to Content.
Sympa Menu

freetds - RE: Version 0.45

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Craig Burton <craigb AT ibis.com.au>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: RE: Version 0.45
  • Date: Thu, 24 Jun 1999 17:25:49 +1000


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')




Archive powered by MHonArc 2.6.24.

Top of Page