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: bpm at terraweb dot com (Brian P Millett)
Subject: trouble building sybperl-2.04
Date: Mar 6 1996 10:18PM

Hello, (perl5.002, sybperl-2.04, solaris 2.4)
 I got and tried to install the sybperl-2.04.  I was getting errors
when I did the make test.  The problem was on the test of
CTlib. (trace):
PERL_DL_NONLAZY=1 /opt/gnu/bin/perl -I../blib/arch -I../blib/lib -I/opt/gnu/lib/perl5/sun4-solaris/5.002 -I/opt/gnu/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/ctlib.............Can't load '../blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: /opt/gnu/bin/perl: fatal: relocation error: symbol not found: svr4_tli: referenced in ../blib/arch/auto/Sybase/CTlib/CTlib.so at /opt/gnu/lib/perl5/DynaLoader.pm line 140.
 
 at ../blib/lib/Sybase/CTlib.pm line 862
BEGIN failed--compilation aborted at t/ctlib.t line 8.
FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay


Sooo I did a diff of the sybperl-2.01/CTlib/Makefile.PL &
sybperl-2.04/CTlib/Makefile.PL and saw that:
*** 21,27 ****
  # Extra flags to pass to CPP
  $inc_string = "-I$SYBASE/include";
  $def_string = "-DCTLIBVS=$CTLIBVS -DSYBPLVER='\"\${VERSION}\"' $$sattr{EXTRA_DEFS}";
! $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl -ltli -linsck $$sattr{EXTRA_LIBS} -ldl -lm";
  
  #####
  ### Configure End
--- 21,27 ----
  # Extra flags to pass to CPP
  $inc_string = "-I$SYBASE/include";
  $def_string = "-DCTLIBVS=$CTLIBVS -DSYBPLVER='\"\${VERSION}\"' $$sattr{EXTRA_DEFS}";
! $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl -linsck $$sattr{EXTRA_LIBS} -lm";
  
So I added -ltli to sybperl-2.04/CTlib/Makefile.PL and SUCCESS!!!


vlad: make test
PERL_DL_NONLAZY=1 /opt/gnu/bin/perl -I../blib/arch -I../blib/lib -I/opt/gnu/lib/perl5/sun4-solaris/5.002 -I/opt/gnu/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/bcp...............ok
All tests successful.
Files=1,  Tests=9,  2 secs ( 0.64 cusr  0.26 csys =  0.90 cpu)
PERL_DL_NONLAZY=1 /opt/gnu/bin/perl -I../blib/arch -I../blib/lib -I/opt/gnu/lib/perl5/sun4-solaris/5.002 -I/opt/gnu/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/ctlib.............ok
t/cursor............
Open Client Message:
Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (1) NUMBER = (163)
Message String: ct_results(): user api layer: external error: This routine cannot be called until all fetchable results have been completely processed.
ok
All tests successful.
Files=2,  Tests=52,  5 secs ( 1.87 cusr  0.72 csys =  2.59 cpu)
PERL_DL_NONLAZY=1 /opt/gnu/bin/perl -I../blib/arch -I../blib/lib -I/opt/gnu/lib/perl5/sun4-solaris/5.002 -I/opt/gnu/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/dblib.............ok
t/money.............ok
All tests successful.
Files=2,  Tests=32,  2 secs ( 1.14 cusr  0.43 csys =  1.57 cpu)
PERL_DL_NONLAZY=1 /opt/gnu/bin/perl -I../blib/arch -I../blib/lib -I/opt/gnu/lib/perl5/sun4-solaris/5.002 -I/opt/gnu/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/dbmoney...........ok
t/sybperl...........ok
All tests successful.
Files=2,  Tests=60,  3 secs ( 1.54 cusr  0.59 csys =  2.13 cpu)

---
Brian Millett                    
Technology Applications Inc.     "Heaven can not exist,
(314) 530-1981                          If the family is not eternal"
bpm@techapp.com                   F. Ballard Washburn