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: David Roboam <drm at cybercable dot tm dot fr>
Subject: Problem make test of Sybperl on SGI O2
Date: Oct 27 1997 9:34AM

I'm trying to compile Sybperl 2.08 on a SGI O2, I encouter this message
when i do the 'make test'

######################################
bilbo 8% make test
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "us",
warning: falling back to the "C" locale.
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "us",
warning: falling back to the "C" locale.
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "us",
warning: falling back to the "C" locale.
        PERL_DL_NONLAZY=1 /usr/sbin/perl -I../blib/arch -I../blib/lib
-I/usr/freeware/lib/perl5/irix -I/usr/freeware/lib/perl5 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "us",
warning: falling back to the "C" locale.
t/bcp...............warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "us",
warning: falling back to the "C" locale.
Can't load '../blib/arch/auto/Sybase/DBlib/DBlib.so' for module
Sybase::DBlib: 11158:/usr/sbin/perl: rld: Fatal Error: cannot
successfully map soname 'libsybdb.so' under any of the filenames
/usr/lib/libsybdb.so:/lib/libsybdb.so:/lib/cmplrs/cc/libsybdb.so:/usr/lib/cmplrs/cc/libsybdb.so: 
at /usr/freeware/lib/perl5/DynaLoader.pm line 140.

 at ../blib/lib/Sybase/DBlib.pm line 304
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)
##################################

My versions are
OPEN CLIENT/C 11.1.0
EMBEDDED SQL/C 10.0.4
SQL SERVER 11.0.2
SQL SERVER MANAGER 11.0.2
Sybperl 2.08
Perl 5.002


the 'file' command says that my perl is 32-bit 

Then, making a 'file' of CTlib.so and libct.so I see

/usr/sybase/lib/libct.so
is      ELF N32 MSB mips-3 dynamic lib MIPS - version 1

/usr/local/sybperl-2.08/blib/arch/auto/Sybase/CTlib/CTlib.so
is      ELF 32-bit MSB mips-2 dynamic lib MIPS - version 1

and 
/usr/sybase/lib/libsybdb.so from sybase is N32

It may be uncompatible, no ?

Do I need an older version of OpenClient or an 32-bit version of
Sybperl?


Thanks

David.