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 10:11:29 +1000


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
suggest that this needs to be compiled statically.
I actually had set STATIC in CONFIG. However,
following the instructions after that to build and
link the new perl fail :

make test
make[1]: Entering directory `/home/craigb/sybperl-2.10_02/BCP'
make[1]: Leaving directory `/home/craigb/sybperl-2.10_02/BCP'
make[1]: Entering directory `/home/craigb/sybperl-2.10_02/CTlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/craigb/sybperl-2.10_02/CTlib'
make[1]: Entering directory `/home/craigb/sybperl-2.10_02/DBlib'
make[1]: Leaving directory `/home/craigb/sybperl-2.10_02/DBlib'
make[1]: Entering directory `/home/craigb/sybperl-2.10_02/Sybperl'
make[1]: Leaving directory `/home/craigb/sybperl-2.10_02/Sybperl'
make -f Makefile.aperl perl
make[1]: Entering directory `/home/craigb/sybperl-2.10_02'
cc -L/usr/local/lib -rdynamic -o perl -O2 ./perlmain.o
/usr/lib/perl5/i386-linux/5.00404/CO
RE/libperl.a
/usr/lib/perl5/site_perl/i386-linux/auto/Sybase/DBlib/DBlib.a
/usr/lib/perl5/si
te_perl/i386-linux/auto/DBD/Sybase/Sybase.a
/usr/lib/perl5/i386-linux/5.00404/auto/DynaLoade
r/DynaLoader.a
/home/craigb/sybperl-2.10_02/blib/arch/auto/Sybase/DBlib/DBlib.a `cat
./blib/
arch/auto/Sybase/extralibs.all` -lnsl -lndbm -lgdbm -ldb -ldl -lm -lc
-lposix -lcrypt
/usr/lib/perl5/site_perl/i386-linux/auto/Sybase/DBlib/DBlib.a(DBlib.o):
In function `XS_Syba
se__DBlib_DBIORDESC':
DBlib.o(.text+0x5d56): undefined reference to `DBIORDESC'
/usr/lib/perl5/site_perl/i386-linux/auto/Sybase/DBlib/DBlib.a(DBlib.o):
In function `XS_Syba
se__DBlib_DBIOWDESC':
DBlib.o(.text+0x5df2): undefined reference to `DBIOWDESC'
/usr/lib/perl5/site_perl/i386-linux/auto/DBD/Sybase/Sybase.a(dbdimp.o):
In function `syb_db_
connect':
dbdimp.o(.text+0x17f6): undefined reference to `ct_options'
/usr/lib/perl5/site_perl/i386-linux/auto/DBD/Sybase/Sybase.a(dbdimp.o):
In function `syb_db_
STORE_attrib':
dbdimp.o(.text+0x2179): undefined reference to `ct_options'
dbdimp.o(.text+0x234f): undefined reference to `ct_options'
make[1]: *** [perl] Error 1
make[1]: Leaving directory `/home/craigb/sybperl-2.10_02'
make: *** [perl] Error 2

I tried to then make non-static and then make install.
No dice, I'm afraid. I get seg faults. I tried using
both the 'perl' and 'perl5.xxx', as 'perl' has DBD::Sybase
accidently linked into it. Both do a seg fault.

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?

Hmmmm





-----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 6:30 AM
To: TDS Development Group
Subject: [freetds] RE: Version 0.45


Craig Burton writes:
> Can build Sybase::DBlib in sybperl with /usr/local/freetds
> as the Sybase lib. When I try to use the DBlib.pm,
> it wanted it under the perl5 heirarchy, but in order
> to run anthing trying to 'use' it, it expected
> there to be a DBlib/autosplit.ix, which was not made
> with DBlib. thus:
>
> Can't locate auto/Sybase/DBlib/autosplit.ix in @INC (@INC contains:
> /usr/lib/perl5/i386-linux/5.0040
> 4 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux
> /usr/lib/perl5/site_perl . /usr/lib/perl5/site_
> perl/i386-linux/auto/DBD) at /usr/lib/perl5/AutoLoader.pm line 85.
>

Have you run
make install
for the sybperl code?

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