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: "Zou, Fan" <zouf at SEC dot GOV>
Subject: "make test" error on solaris 2.6 with sybase ASE 12.0 installatio n when using dynamic load option
Date: Dec 13 2002 4:00PM

I got following error when I run "make test" after successfully run "make"
with 
"#LINKTYPE=static" in CONFIG file comment out.

If I uncomment "#LINKTYPE=static" in CONFIG and rerun "make" and "make test"
everything works OK.

Could anybody give me some idea. What's wrong with dynamic load?

Thanks

Fan
--------------------------------
PERL_DL_NONLAZY=1 /opt/perl5.005.03/bin/perl -I../blib/arch -I../blib/lib
-I/opt
/perl5.005.03/lib/5.00503/sun4u -I/opt/perl5.005.03/lib/5.00503 -e 'use
Test::Ha
rness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/bcp...............ok
All tests successful.
Files=1,  Tests=9,  1 wallclock secs ( 0.13 cusr +  0.04 csys =  0.17 CPU)
PERL_DL_NONLAZY=1 /opt/perl5.005.03/bin/perl -I../blib/arch -I../blib/lib
-I/opt
/perl5.005.03/lib/5.00503/sun4u -I/opt/perl5.005.03/lib/5.00503 -e 'use
Test::Ha
rness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/blk...............ld.so.1: /opt/perl5.005.03/bin/perl: fatal: relocation
error
: file /opt/sybase/OCS-12_0/lib/libtli.so: symbol comn_yield: referenced
symbol
not found
dubious
        Test returned status 0 (wstat 9, 0x9)
FAILED--1 test script could be run, alas--no output ever seen
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
Current working directory /home/sybase/sybperl-2.15/BLK
*** Error code 1
make: Fatal error: Command failed for target `test'
----------------------------------
------------------------------
Reading specs from /opt/GCC281/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
gcc version 2.8.1

SunOS UDEV3 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-80

This is perl, version 5.005_03 built for sun4u

Sybase Client-Library/12.0/P-EBF9023/SPARC/Solaris 2.5.1/1/OPT/Thu Apr 27
14:33:57 2000
------------------------------
LD_LIBRARY_PATH=/opt/sybase/OCS-12_0/lib:/opt/sybase/OCS-12_0/devlib:/opt/GC
C281
/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1