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: <Edward dot Guenther at thomson dot com>
Subject: installing sybperl
Date: May 26 2006 4:36AM

I know this is a simple question but any help is appreciated.

My sybperl 2.18 install compiles and installs fine but make test fails completely.  My system is Solaris 10 with perl 5.8.8.  My system does not have a local sybase instance so my thinking is that some networking modules are needed.  The error message does not say this but....

Thanks,

-Ed.


Here's the error:

 perl -le 'require Sybase::DBlib;print $Sybase::DBlib::Version;'
Can't load '/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/Sybase/DBlib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8/sun4-solaris/DynaLoader.pm line 230.
 at -e line 1
Compilation failed in require at -e line 1.


Here's "make test" output:

make[1]: Entering directory `/var/tmp/sybperl-2.18/BCP'
make[1]: Leaving directory `/var/tmp/sybperl-2.18/BCP'
make[1]: Entering directory `/var/tmp/sybperl-2.18/BLK'
make[1]: Leaving directory `/var/tmp/sybperl-2.18/BLK'
make[1]: Entering directory `/var/tmp/sybperl-2.18/CTlib'
make[1]: Leaving directory `/var/tmp/sybperl-2.18/CTlib'
make[1]: Entering directory `/var/tmp/sybperl-2.18/DBlib'
make[1]: Leaving directory `/var/tmp/sybperl-2.18/DBlib'
make[1]: Entering directory `/var/tmp/sybperl-2.18/Sybperl'
make[1]: Leaving directory `/var/tmp/sybperl-2.18/Sybperl'
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harne
ss(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_db_dblib...........Can't load '/var/tmp/sybperl-2.18/blib/arch/auto/Sybase/D
Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open
 failed: No such file or directory at /usr/local/lib/perl5/5.8.8/sun4-solaris/Dy
naLoader.pm line 230.
 at t/1_db_dblib.t line 9
Compilation failed in require at t/1_db_dblib.t line 9.
BEGIN failed--compilation aborted at t/1_db_dblib.t line 9.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/1_db_money...........Can't load '/var/tmp/sybperl-2.18/blib/arch/auto/Sybase/D
Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open
 failed: No such file or directory at /usr/local/lib/perl5/5.8.8/sun4-solaris/Dy
naLoader.pm line 230.
 at t/1_db_money.t line 9
Compilation failed in require at t/1_db_money.t line 9.
BEGIN failed--compilation aborted at t/1_db_money.t line 9.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/2_ct_ctlib...........Can't load '/var/tmp/sybperl-2.18/blib/arch/auto/Sybase/C
Tlib/CTlib.so' for module Sybase::CTlib: ld.so.1: perl: fatal: libct.so: open fa
iled: No such file or directory at /usr/local/lib/perl5/5.8.8/sun4-solaris/DynaL
oader.pm line 230.
 at t/2_ct_ctlib.t line 11
Compilation failed in require at t/2_ct_ctlib.t line 11.
BEGIN failed--compilation aborted at t/2_ct_ctlib.t line 11.

dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-21
        Failed 21/21 tests, 0.00% okay
t/3_bcp................Can't load '/var/tmp/sybperl-2.18/blib/arch/auto/Sybase/D
Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open
 failed: No such file or directory at /usr/local/lib/perl5/5.8.8/sun4-solaris/Dy
naLoader.pm line 230.
 at /var/tmp/sybperl-2.18/blib/lib/Sybase/BCP.pm line 278
Compilation failed in require at /var/tmp/sybperl-2.18/blib/lib/Sybase/BCP.pm li
ne 278.
BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18/blib/lib/Sybase/BCP.p
m line 278.
Compilation failed in require at t/3_bcp.t line 14.
BEGIN failed--compilation aborted at t/3_bcp.t line 14.
dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
t/4_blk................Can't load '/var/tmp/sybperl-2.18/blib/arch/auto/Sybase/C
Tlib/CTlib.so' for module Sybase::CTlib: ld.so.1: perl: fatal: libct.so: open fa
iled: No such file or directory at /usr/local/lib/perl5/5.8.8/sun4-solaris/DynaL
oader.pm line 230.
 at /var/tmp/sybperl-2.18/blib/lib/Sybase/BLK.pm line 312
Compilation failed in require at /var/tmp/sybperl-2.18/blib/lib/Sybase/BLK.pm li
ne 312.
BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18/blib/lib/Sybase/BLK.p
m line 312.
Compilation failed in require at t/4_blk.t line 12.
BEGIN failed--compilation aborted at t/4_blk.t line 12.
dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-19
        Failed 19/19 tests, 0.00% okay
t/5_sybperl............Can't load '/var/tmp/sybperl-2.18/blib/arch/auto/Sybase/D
Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open
 failed: No such file or directory at /usr/local/lib/perl5/5.8.8/sun4-solaris/Dy
naLoader.pm line 230. at /var/tmp/sybperl-2.18/blib/lib/Sybase/Sybperl.pm line 79
Compilation failed in require at /var/tmp/sybperl-2.18/blib/lib/Sybase/Sybperl.p
m line 79.
BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18/blib/lib/Sybase/Sybpe
rl.pm line 79.
Compilation failed in require at /var/tmp/sybperl-2.18/blib/lib/sybperl.pl line
17.
BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18/blib/lib/sybperl.pl l
ine 17.
Compilation failed in require at t/5_sybperl.t line 7.
dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-28
        Failed 28/28 tests, 0.00% okay
t/5_sybperl_dbmoney....Can't load '/var/tmp/sybperl-2.18/blib/arch/auto/Sybase/D
Blib/DBlib.so' for module Sybase::DBlib: ld.so.1: perl: fatal: libsybdb.so: open
 failed: No such file or directory at /usr/local/lib/perl5/5.8.8/sun4-solaris/Dy
naLoader.pm line 230.
 at /var/tmp/sybperl-2.18/blib/lib/Sybase/Sybperl.pm line 79
Compilation failed in require at /var/tmp/sybperl-2.18/blib/lib/Sybase/Sybperl.p
m line 79.
BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18/blib/lib/Sybase/Sybpe
rl.pm line 79.
Compilation failed in require at /var/tmp/sybperl-2.18/blib/lib/sybperl.pl line
17.
BEGIN failed--compilation aborted at /var/tmp/sybperl-2.18/blib/lib/sybperl.pl l
ine 17.
Compilation failed in require at t/5_sybperl_dbmoney.t line 7.
dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-32
        Failed 32/32 tests, 0.00% okay
Failed Test           Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/1_db_dblib.t           2   512    ??   ??       %  ??
t/1_db_money.t           2   512    ??   ??       %  ??
t/2_ct_ctlib.t           2   512    30   59 196.67%  1-30
t/2_ct_cursor.t          2   512    22   43 195.45%  1-22
t/2_ct_nsql.t            2   512     4    7 175.00%  1-4
t/2_ct_prepare.t         2   512    15   29 193.33%  1-15
t/2_ct_xblk.t            2   512    21   41 195.24%  1-21
t/3_bcp.t                2   512     9   17 188.89%  1-9
t/4_blk.t                2   512    19   38 200.00%  1-19
t/5_sybperl.t            2   512    28   56 200.00%  1-28

t/5_sybperl_dbmoney.t    2   512    32   64 200.00%  1-32
Failed 11/11 test scripts, 0.00% okay. 180/180 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2