I did install the client libs included in the ctlib-linux-elf package.
I made sure the path to $SYBASE was correct in the CONFIG file as well as
the DBLIBVS and CTLIBVS flags were correctly set for my version of the
client library (10.0.1 according to $SYBASE/include/sybdb.h)
I have about 20 existing scripts which use Sybase::DBlib and Sybase::CTlib.
I don't maintain these scripts, nor do I want to - I just have to make sure
they compile.
I installed the newer form (sybase-openclient-11.1.1-3) of the client
libraries (in RPM format - very handy!) as per Michael's suggestion and
started over with the installation. It got me a little further along. Now
installation stops with the following in the make test stage:
make[1]: Entering directory `/home/awh/sybperl-2.13/BCP'
make[1]: Leaving directory `/home/awh/sybperl-2.13/BCP'
make[1]: Entering directory `/home/awh/sybperl-2.13/CTlib'
make[1]: Leaving directory `/home/awh/sybperl-2.13/CTlib'
make[1]: Entering directory `/home/awh/sybperl-2.13/DBlib'
make[1]: Leaving directory `/home/awh/sybperl-2.13/DBlib'
make[1]: Entering directory `/home/awh/sybperl-2.13/Sybperl'
make[1]: Leaving directory `/home/awh/sybperl-2.13/Sybperl'
make[1]: Entering directory `/home/awh/sybperl-2.13/BCP'
PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib
-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/bcp...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-9
Failed 5/9 tests, 44.44% okay
Failed Test Status Wstat Total Fail Failed List of failed
----------------------------------------------------------------------------
---
t/bcp.t 255 65280 9 5 55.56% 5-9
make[1]: Leaving directory `/home/awh/sybperl-2.13/BCP'
:) ?
Alyssa Harding
--
UNIX System Administrator
Port of Seattle
-----Original Message-----
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 3:17 PM
To: 'Harding, Alyssa '; ''[EMAIL PROTECTED]' '
Subject: RE: problems installing sybperl 2.13 on Red Hat 7.1
First you can't install any driver, in your case sybperl without the
database libraries. You don't have to install the database server, but you
must have the client installation, with libs.
I am also not sure your reason's for using sybperl, since it is deprecated
and you should really use DBI and DBD::Sybase for any new development.
Ilya
-----Original Message-----
From: Harding, Alyssa
To: '[EMAIL PROTECTED]'
Sent: 07/19/2001 4:14 PM
Subject: problems installing sybperl 2.13 on Red Hat 7.1
I'm trying to install the sybperl-2.13 libraries on Red Hat Linux 7.1
using
the client libraries in the ctlib-linux-elf archive.
My goal is to install the sybperl libraries without installing a whole
Sybase database on the same box. The scripts that will run on this linux
box
will be connecting to a remote database.
I unpacked everything, edited the CONFIG file as in the README, and ran
Makefile.PL just fine - but when I run make I get:
make[1]: Entering directory `/home/awh/sybperl-2.13/BCP'
Manifying ../blib/man3/Sybase::BCP.3pm
make[1]: Leaving directory `/home/awh/sybperl-2.13/BCP'
make[1]: Entering directory `/home/awh/sybperl-2.13/CTlib'
Skip ../blib/lib/Sybase/CTlib.pod (unchanged)
Skip ../blib/lib/Sybase/CTlib.pm (unchanged)
gcc -c -I/home/sybase/include -fno-strict-aliasing -O2 -march=i386
-mcpu=i686 c
Running Mkbootstrap for Sybase::CTlib ()
chmod 644 CTlib.bs
LD_RUN_PATH="/home/sybase/lib:/lib" gcc -o
../blib/arch/auto/Sybase/CTlib/CTlib
collect2: ld terminated with signal 11 [Segmentation fault]
make[1]: *** [../blib/arch/auto/Sybase/CTlib/CTlib.so] Error 1
make[1]: Leaving directory `/home/awh/sybperl-2.13/CTlib'
make: *** [subdirs] Error 2
Any help anyone could give would be great.
Alyssa Harding
--
UNIX System Administrator
Port of Seattle