PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: stenijj at NU dot COM
Subject: sybperl installation problems.
Date: Jan 13 1999 2:24PM

Hello,

I'm having a sybperl installation problem.  Here's the general info on the
system I'm installing on, as well as Openclient version, sybperl and perl
versions:

System: SGI Origin 200
OS: SGI Irix 6.4
PERL Version: 5.003
Sybperl Version: 2.09_05
OpenClient Version: 10.0.3


The problem I'm having is with the 'make test' section of the install.  I'm
pretty sure my CONFIG file is correct; 1000 for DBLIBVS, 100 for CTLIBVS,
the rest default.  'perl Makefile.PL' doesn't give me any errors at all.
The make works OK as well; several warnings about types, but it finishes
without error.  PWD is correct as well.  However, when I type 'make test',
it fails the first test with this message:

# make test
        PERL_DL_NONLAZY=1 /usr/sbin/perl -I.././blib/arch -I.././blib/lib
-I/usr
/share/lib/perl5/irix-n32/5.003 -I/usr/share/lib/perl5 -e 'use
Test::Harness qw(
&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/bcp...............Can't load '.././blib/arch/auto/Sybase/DBlib/DBlib.so'
for m
odule Sybase::DBlib:  9906:/usr/sbin/perl: rld: Fatal Error: cannot
successfully
 map soname 'libsybdb.so' under any of the filenames
/opt/sybase/lib/libsybdb.so
:/usr/lib32/libsybdb.so:/lib32/libsybdb.so:/usr/libn32/libsybdb.so:/libn32/
libsy
bdb.so:  at /usr/share/lib/perl5/DynaLoader.pm line 140.

 at .././blib/lib/Sybase/DBlib.pm line 290
BEGIN failed--compilation aborted at .././blib/lib/Sybase/BCP.pm line 277.
BEGIN failed--compilation aborted at t/bcp.t line 12.
FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
        Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 9/9 subtests failed, 0.00% okay.
*** Error code 2 (bu21)
*** Error code 1 (bu21)

What is odd is the error about not being able to find libsybdb.so.  My
SYBASE variable is set to /opt/sybase, and /opt/sybase does indeed exist.
Also, /opt/sybase/lib does indeed have libsybdb.so in it.  I've verified
this many times to make sure I'm not going nuts, but it is indeed
there.  So I'm not sure where to go from here.  I hope this is enough
information;  thanks for any help you can give me.

John Steniger