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: Andre Castanheira <andre dot castanheira at cariocaengenharia dot com dot br>
Subject: RES: make test
Date: Apr 3 2000 3:43PM

Michael,
I've done the modifications, but now I've got the following errors after 
the make test command :

make[1]: Entering directory `/usr/lib/sybperl-2.11/BCP'
make[1]: Leaving directory `/usr/lib/sybperl-2.11/BCP'
make[1]: Entering directory `/usr/lib/sybperl-2.11/CTlib'
make[1]: Leaving directory `/usr/lib/sybperl-2.11/CTlib'
make[1]: Entering directory `/usr/lib/sybperl-2.11/DBlib'
make[1]: Leaving directory `/usr/lib/sybperl-2.11/DBlib'
make[1]: Entering directory `/usr/lib/sybperl-2.11/Sybperl'
make[1]: Leaving directory `/usr/lib/sybperl-2.11/Sybperl'
make[1]: Entering directory `/usr/lib/sybperl-2.11/BCP'
PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib 
-I/usr/lib/perl5/5.00503/i586-linux -I/usr/lib/perl5/5.00503 -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/bcp...............ok
All tests successful.
Files=1,  Tests=9,  2 wallclock secs ( 0.51 cusr +  0.02 csys =  0.53 CPU)
make[1]: Leaving directory `/usr/lib/sybperl-2.11/BCP'
make[1]: Entering directory `/usr/lib/sybperl-2.11/CTlib'
PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib 
-I/usr/lib/perl5/5.00503/i586-linux -I/usr/lib/perl5/5.00503 -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/ctlib.............dubious
	Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
	Failed 30/30 tests, 0.00% okay
t/cursor............dubious
	Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
	Failed 22/22 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
------------------------------------------------------------------------  
-------
t/ctlib.t       255 65280    30   30 100.00%  1-30
t/cursor.t      255 65280    22   22 100.00%  1-22
make[1]: Leaving directory `/usr/lib/sybperl-2.11/CTlib'





----- Mensagem original -----
De:		Michael Peppler [SMTP:mpeppler@peppler.org]
Enviada em:		segunda-feira, 3 de abril de 2000 11:21
Para:		SybPerl Discussion List
Assunto:		Re: make test

Andre Castanheira writes:
 > Hi,
 >
 > I need to install sybperl on my linux box, but when I run the make test 
command, I receive the following error :
 >
 > /opt/sybase-11.9.2/lib/libct.so: undefined reference to `syb_net_chain'

For some reason your build did not link with -lsybtcl instead
-ltcl. Go back and edit sybperl-2.xx/CTlib/Makefile and change -ltcl
to -lsybtcl and rebuild.

 > collect2: ld returned 1 exit status
 > make[1]: *** [perl] Error 1
 > make[1]: Leaving directory `/usr/lib/sybperl-2.11'
 > make: *** [perl] Error 2

It would also seem that you are building with static linking
(LINK_TYPE=static). I would avoid that if at all possible as it makes
updating things a lot more complicated.

Michael
--
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com