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: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: TEST SUITE ERRORS
Date: Mar 5 1996 6:55AM

> From: Mathur Avinash 
> 
> 
> Hello,
> I have a problem with the first test case in the test suite of sybperl:
> 
> 
> > make[1]: Entering directory `/builds/sybperl-2.03/CTlib'
> > PERL_DL_NONLAZY=1 ./../perl/ -I../blib/arch/ -I../blib/lib/
> > -I/opt/local/lib/perl5/PA-RISC1.1/5.002 -I/opt/local/lib/perl5 -e
> > 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests
> > @ARGV;' t/*.t t/ctlib............./lib/dld.sl: Unresolved symbol:
> > net_opt_alloc (code)  from /opt/sybase/lib/libct.sl
> > FAILED before any test output arrived
> >         Test returned status 0 (wstat 134)
> > FAILED--1 test script could be run, alas -- no output ever seen
> > make[1]: *** [test_static] Error 2
> 
> I am compiling on a HP715 running
> HPUX-9.05.  I am using the ANSI HP C compiler.
> The perl version is perl-5.002gamma
> The Sybperl release is SybPerl-2.03

1. Do you have libtcl.a (from tcl/tk) in /usr/local/lib?

2. If you run ldd on your perl binary, does it show
   /opt/sybase/lib/libtcl.sl as being one of the libraries?

If you answered yes to 1. and no to 2., then either change the ldflags
variable from perl's Configure to NOT include -L/usr/local/lib, or move
(or rename) /usr/local/lib/libtcl.a while you build sybperl, because
otherwise the build is going to pick up the wrong library file when it
sees -ltcl.

Michael