Skip to Content.
Sympa Menu

freetds - RE: Version 0.45

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: Version 0.45
  • Date: Wed, 23 Jun 1999 17:30:14 -0700 (PDT)


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




Archive powered by MHonArc 2.6.24.

Top of Page