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: wlee at spspme dot ml dot com (William Lee)
Subject: Re: please ignore the previous mail
Date: Jun 29 1998 6:21PM

Michael,

  I had taken care of the /usr/lib , here is the next error , thanks for your time.
  
  --
============================================================================
William Lee                                   voice : (212) 449-7598
Sybase DBA                                   e-mail : wlee@ml.com
http://www.merrill-lynch.com                  pager : (888) MERRIL-0 0807610
============================================================================

  
PERL_DL_NONLAZY=1 .././perl -I.././blib/arch -I.././blib/lib 
-I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/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,  3 secs ( 0.49 cusr  0.23 csys =  0.72 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.003 -I./blib/arch -I./blib/lib 
-I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 -e 'use Test::Harness 
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/ctlib.............
Open Client Message:
Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (131)
Message String: ct_init(): network packet layer: internal net library error: Netlib state 
error - Netlib initialization may have failed
Sybase::CTlib initialize: ct_init() failed at /usr/local/lib/perl5/DynaLoader.pm line 153.
BEGIN failed--compilation aborted at t/ctlib.t line 8.
FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay
        Test returned status 2 (wstat 512)
t/cursor............
Open Client Message:
Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (131)
Message String: ct_init(): network packet layer: internal net library error: Netlib state 
error - Netlib initialization may have failed
Sybase::CTlib initialize: ct_init() failed at /usr/local/lib/perl5/DynaLoader.pm line 153.
BEGIN failed--compilation aborted at t/cursor.t line 12.
FAILED tests 1-22
        Failed 22/22 tests, 0.00% okay
        Test returned status 2 (wstat 512)
Failed 2/2 test scripts, 0.00% okay. 52/52 subtests failed, 0.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
Current working directory /export1/opt/sybperl-2.09_05/CTlib
*** Error code 1
make: Fatal error: Command failed for target `test'

>>From mpeppler@mbay.net Mon Jun 29 12:50:36 1998
>>From: Michael Peppler 
>>Date: Mon, 29 Jun 1998 09:49:38 -0700 (PDT)
>>To: wlee@spspme.ml.com (William Lee)
>>Cc: SYBPERL-L@listproc.net, mpeppler@mbay.net
>>Subject: please ignore the previous mail
>>
>>William Lee writes:
>> > Hi Michael,
>> > 
>> >   Here is the real error that I got while I tried to 'make test'
>> >   
>>
>> > 
>> > PERL_DL_NONLAZY=1 .././perl -I.././blib/arch -I.././blib/lib 
>> > -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/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: .././perl: fatal: relocation error: symbol not found: 
intlgetenv: 
>>
>>OK - this one is familiar. You have /usr/lib in LD_LIBRARY_PATH before 
>>$SYBASE/lib. Both Sybase and Solaris have libintl.so, and because of
>>your LD_LIBRARY_PATH setting the incorrect one gets picked up when
>>perl loads the CTlib.so shared object.
>>
>>You should remove /usr/lib from LD_LIBRARY_PATH (it's almost never
>>needed) and try again.
>>
>>Michael
>>-- 
>>Michael Peppler         -||-  Data Migrations Inc.
>>mpeppler@datamig.com    -||-  http://www.mbay.net/~mpeppler
>>Int. Sybase User Group  -||-  http://www.isug.com
>>