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: "Kavulak, Daniel" <Daniel dot Kavulak at pacourts dot us>
Subject: problem installing sybperl
Date: Aug 11 2006 8:05PM

Hello,

 

I am new to my environment but have a fairly good grasp of UNIX. I am
having problems installing sybperl 2.18 on our machine: Here are the
details

c

 

It is when I run  make test that I encounter a problem.  A  commonly
repeated error references a not found symbol blk_drop  after which I
receive this  message many times...referencing different line numbers,
but always pointing out the not found symbol.

 

...........ok                                                    

t/2_ct_ctlib...........Can't load
'/tmp/sybperl-2.18/blib/arch/auto/Sybase/CTlib/CTlib.so' for module
Sybase::CTlib: ld.so.1: perl: fatal: relocation error: file
/tmp/sybperl-2.18/blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop:
referenced symbol not found at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.

 

 

 

OS/Machine Information:

System = SunOS

Release = 5.8

KernelID = Generic_117350-30

Machine = sun4u

usr/local/lib/perl5/5.8.7

Sybase OpenClient 12.5.1 found

 

 

Here are the details

 

usr/sybase

Sybase OpenClient 12.5.1 found.

Writing Makefile for Sybase::Sybperl

Writing Makefile for Sybase

cpdb4{sybase}205: make

Manifying ../blib/man3/Sybase::BCP.3

Manifying ../blib/man3/Sybase::BLK.3

Skip ../blib/lib/Sybase/CTlib.pm (unchanged)

gcc -B/usr/ccs/bin/ -c  -I/usr/sybase/OCS-12_5/include
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"2.18\"  -DXS_VERSION=\"2.18\"
-fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE"  -DCTLIBVS=100
-DSYBPLVER='"2.18"' -DDO_TIE CTlib.c

Running Mkbootstrap for Sybase::CTlib ()

chmod 644 CTlib.bs

rm -f ../blib/arch/auto/Sybase/CTlib/CTlib.so

LD_RUN_PATH="/usr/sybase/OCS-12_5/lib" gcc -B/usr/ccs/bin/
-L/usr/sybase/OCS-12_5/lib -G -L/usr/local/lib CTlib.o  -o
../blib/arch/auto/Sybase/CTlib/CTlib.so   -L/usr/sybase/OCS-12_5/lib
-lct -lcs -ltcl -lcomn -lintl -lm   

gcc: file path prefix `/usr/ccs/bin/' never used

chmod 755 ../blib/arch/auto/Sybase/CTlib/CTlib.so

cp CTlib.bs ../blib/arch/auto/Sybase/CTlib/CTlib.bs

chmod 644 ../blib/arch/auto/Sybase/CTlib/CTlib.bs

Manifying ../blib/man3/Sybase::CTlib.3

Skip ../blib/lib/Sybase/DBlib.pm (unchanged)

gcc -B/usr/ccs/bin/ -c  -I/usr/sybase/OCS-12_5/include
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"2.18\"  -DXS_VERSION=\"2.18\"
-fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE"  -DDBLIBVS=1000
-DSYBPLVER='"2.18"' -DDO_TIE DBlib.c

Running Mkbootstrap for Sybase::DBlib ()

chmod 644 DBlib.bs

rm -f ../blib/arch/auto/Sybase/DBlib/DBlib.so

LD_RUN_PATH="/usr/sybase/OCS-12_5/lib" gcc -B/usr/ccs/bin/
-L/usr/sybase/OCS-12_5/lib -G -L/usr/local/lib DBlib.o  -o
../blib/arch/auto/Sybase/DBlib/DBlib.so   -L/usr/sybase/OCS-12_5/lib
-lsybdb -lm   

gcc: file path prefix `/usr/ccs/bin/' never used

chmod 755 ../blib/arch/auto/Sybase/DBlib/DBlib.so

cp DBlib.bs ../blib/arch/auto/Sybase/DBlib/DBlib.bs

chmod 644 ../blib/arch/auto/Sybase/DBlib/DBlib.bs

Manifying ../blib/man3/Sybase::DBlib.3

Manifying ../blib/man3/Sybase::Sybperl.3

Manifying blib/man3/sybperl.3

cpdb4{sybase}206: make test

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/1_db_dblib...........ok


t/1_db_money...........ok


t/2_ct_ctlib...........Can't load
'/tmp/sybperl-2.18/blib/arch/auto/Sybase/CTlib/CTlib.so' for module
Sybase::CTlib: ld.so.1: perl: fatal: relocation error: file
/tmp/sybperl-2.18/blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop:
referenced symbol not found at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.

 at t/2_ct_ctlib.t line 11

Compilation failed in require at t/2_ct_ctlib.t line 11.

BEGIN failed--compilation aborted at t/2_ct_ctlib.t line 11.

t/2_ct_ctlib...........dubious


        Test returned status 2 (wstat 512, 0x200)

DIED. FAILED tests 1-30

        Failed 30/30 tests, 0.00% okay

 

 

Any assistance would be appreciated.

 

Thank You,

 

Dan Kavulak