Up Prev Next
From: Hayden Myers <hayden at spinbox dot com>
Subject: sybperl installation
Date: Dec 19 2000 10:03PM
I am having trouble installing sybperl 2.12 on a base redhat 6.2 linux
system. I have installed the stable 5.6 perl from www.perl.com. I
compiled without -ldb and -lndbm. I have also made sure to set LD_LIBRARY
path to /opt/sybase/lib (sybase library path) I have also made sym links
to all of the libraries in /opt/sybase/lib to /usr/lib/. I was able to
compile sybperl successfully. The problems come when I try to run make
test. I am using sybase 22.214.171.124-6. I installed from sybase's rpm's.
The SYBASE env variable is set to /opt/sybase as well, which is the sybase
home dir. My output from make test is below.
make: Entering directory `/usr/data/sybperl-2.12/CTlib'
make: Leaving directory `/usr/data/sybperl-2.12/CTlib'
make: Entering directory `/usr/data/sybperl-2.12/DBlib'
ake: Leaving directory `/usr/data/sybperl-2.12/DBlib'
make: Entering directory `/usr/data/sybperl-2.12/Sybperl'
make: Leaving directory `/usr/data/sybperl-2.12/Sybperl'
make: Entering directory `/usr/data/sybperl-2.12/BCP'
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5/5.6.0 -e
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/bcp...............Sybase error: Server name not found in interface file.
Can't call method "sql" on an undefined value at t/bcp.t line 49.
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
It appears to not read the interfaces file which is located in
/opt/sybase/interfaces and posted below.
## SYBASE on workstation4.skyline.net
## query tcp (7100)
## master tcp (7100)
query tcp ether workstation4.skyline.net 7100
master tcp ether workstation4.skyline.net 7100
## SYB_BACKUP on workstation4.skyline.net
## query tcp (7110)
## master tcp (7110)
query tcp ether workstation4.skyline.net 7110
master tcp ether workstation4.skyline.net 7110
here is the PWD file that I assume reads in the id, password, and server
I am able to run isql from the top sybperl dir, which proves that the
sybase dir is in the path as well. Any help is appreciated. I am still
digging on the net for an answer.
Skyline Network Technologies