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: Marco Hernandez <mahern at digi-ham dot new-york dot ny dot us>
Subject: Irix 6.2 woes ...
Date: May 13 1998 8:04PM

Hi all,

I've looked through the archives and tried some of the 'irix' tips there
to no avail.  I'm running irix 6.2 with sybperl 2.09 and perl 5.004_04.
Sybperl compiles fine but on the make test:

        PERL_DL_NONLAZY=1 /usr/bin/perl -I.././blib/arch -I.././blib/lib
-I/usr/local/lib/perl5/IP22-irix/5.00404 -I/usr/local/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 module Sybase::DBlib:  2283:/usr/bin/perl: rld: Fatal Error: Cannot
Successfully map soname 'libsybdb.so' under any of the filenames
/usr/lib/libsybdb.so:/usr/sybase/lib/libsybdb.so:/lib/libsybdb.so:/usr/local/lib/libsybdb.so:/usr/freeware/lib/libsybdb.so:/usr/lib/internal/libsybdb.so:/lib/cmplrs/cc/libsybdb.so:/usr/lib/cmplrs/cc/libsybdb.so:/opt/lib/libsybdb.so:
at /usr/local/lib/perl5/IP22-irix/5.00404/DynaLoader.pm line 166.

 at .././blib/lib/Sybase/BCP.pm line 277
BEGIN failed--compilation aborted at .././blib/lib/Sybase/BCP.pm line 277.
BEGIN failed--compilation aborted at t/bcp.t line 12.
dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-9
        Failed 9/9 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/bcp.t           2   512     9    9 100.00%  1-9
Failed 1/1 test scripts, 0.00% okay. 9/9 subtests failed, 0.00% okay.
*** Error code 2 (bu21)
*** Error code 1 (bu21)


The CONFIG file is this :

#
# Configuration file for Sybperl
#
# DBlibrary version. Set to 1000 (or higher) if you have System 10
# Set to 0 if you do not want to build DBlib or if DBlib is not available
# (Linux, for example)
DBLIBVS=1000


# CTlib version. Set to 0 if Client Library is not available on your
# system, or if you don't want to build the CTlib module. The Client
# Library started shipping with System 10.
# Note that the CTlib module is still under construction, though the
# core API should be stable now.
# Set to 100 if you have System 10.
CTLIBVS=100

# Where is the Sybase directory on your system (include files &
# libraries are expected to be found at SYBASE/include & SYBASE/lib
SYBASE=/usr/sybase

# Additional libraries.
# Some systems require -lnsl or -lBSD.
# Solaris 2.x needs -ltli
# DEC OSF/1 needs -ldnet_stub and may need -lsdna
#   (Note: Under Dec 3.2 you need to *remove* -lsdna from the
DBlib/Makefile
#    for things to work. *sigh*)
# SunOS 4.x needs -linsck
# HP-UX 10.x needs -linsck
# AIX 3.2.5 needs -linsck
# Linux needs -linsck
# See the Sybase OpenClient Supplement for your OS/Hardware
# combination.
EXTRA_LIBS= -linsck #-ltli

# Library directory. Under Windows/NT, if you are using the Borland
# compilers, then uncomment the line below:
# BORLAND_LIBS=blib

# Additional #defines.
# With Perl 5.001m, you will need -DUNDEF_BUG.
# With Perl 5.002, none are normally needed, but you may wish to
# use -DDO_TIE to get the benefit of stricter checking on the
# Sybase::DBlib and Sybase::CTlib attributes.
#EXTRA_DEFS=
EXTRA_DEFS=-DDO_TIE


# LINKTYPE
# If you wish to link Sybase::DBlib and/or Sybase::CTlib statically
# into perl uncomment the line below and run the make normally. Then,
# when you run 'make test' a new perl binary will be built.
#LINKTYPE=static


I'm running it agains open client libraries 11.1.0


Any help is appreciated ...

Cheers,

Marco Hernandez