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: dfist at NBA dot COM
Subject: (no subject)
Date: Nov 9 2000 10:38PM


Hi,

I've been trying to compile sybperl for about three days now and I'm pretty sure I'm doing something stupid (it's always been
a talent) but if someone could tell me exactly what I'd be extremely grateful.

The facts....

Perl version:  5.6.0.
Sybperl : 2.12
OS : Aix 4.3.0.0
Dataserver : ASE 11.9.2
Open Client : 11.1.1p2
Login : root

When I edited the CONFIG files as suggested in the instructions...

When I run perl Makefile.pl I get the following output....

stat:/usr/local/perl/sybperl-2.12 >perl Makefile.PL
Writing Makefile for Sybase::BCP
Note (probably harmless): No library found for -lct
Note (probably harmless): No library found for -lcs
Note (probably harmless): No library found for -ltcl
Note (probably harmless): No library found for -lcomn
Note (probably harmless): No library found for -lintl
Note (probably harmless): No library found for -linsck
Writing Makefile for Sybase::CTlib
Note (probably harmless): No library found for -lsybdb
Note (probably harmless): No library found for -linsck
Writing Makefile for Sybase::DBlib
Writing Makefile for Sybase::Sybperl
Writing Makefile for Sybase


When I run make I get the following output....

nbastat:/usr/local/perl/sybperl-2.12 >make
Manifying ../blib/man3/Sybase::BCP.3
cp CTlib.pm ../blib/lib/Sybase/CTlib.pm
AutoSplitting ../blib/lib/Sybase/CTlib.pm (../blib/lib/auto/Sybase/CTlib)
        /usr/bin/perl -I/usr/local/lib/perl5/5.6.0/aix -I/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp -prototypes -typemap /usr/local/lib/perl5/5.6.0/ExtUtils/typemap CTlib.xs >
CTlib.xsc && mv CTlib.xsc CTlib.c
        cc -c -I/usr1/sybase/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32 -D_LARGE_FILES
-qlonglong -O      -DVERSION=\"2.12\"  -DXS_VERSION=\"2.12\"  -I/usr/local/lib/perl5/5.6.0/aix/CORE -DCTLIBVS=100
-DSYBPLVER='"2.12"' -DDO_TIE CTlib.c
1506-173 (W) Option 32 is not valid.  Enter xlc for list of valid options.
  Running Mkbootstrap for Sybase::CTlib ()
        chmod 644 CTlib.bs
        LD_RUN_PATH="/lib" ld -o ../blib/arch/auto/Sybase/CTlib/CTlib.so  -L/usr1/sybase/lib -bhalt:4 -bM:SRE
-bI:/usr/local/lib/perl5/5.6.0/aix/CORE/perl.exp -bE:CTlib.exp -b noentry -lC -lc -L/usr/local/lib CTlib.o
-L/usr1/sybase/lib -lm
ld: 0711-317 ERROR: Undefined symbol: .cs_calc
ld: 0711-317 ERROR: Undefined symbol: .cs_cmp
ld: 0711-317 ERROR: Undefined symbol: .cs_dt_crack
ld: 0711-317 ERROR: Undefined symbol: .cs_dt_info
ld: 0711-317 ERROR: Undefined symbol: .ct_param
ld: 0711-317 ERROR: Undefined symbol: .ct_cursor
ld: 0711-317 ERROR: Undefined symbol: .ct_res_info
ld: 0711-317 ERROR: Undefined symbol: .ct_config
ld: 0711-317 ERROR: Undefined symbol: .ct_options
ld: 0711-317 ERROR: Undefined symbol: .ct_fetch
ld: 0711-317 ERROR: Undefined symbol: .ct_cancel
ld: 0711-317 ERROR: Undefined symbol: .ct_data_info
ld: 0711-317 ERROR: Undefined symbol: .ct_send_data
ld: 0711-317 ERROR: Undefined symbol: .ct_get_data
ld: 0711-317 ERROR: Undefined symbol: .ct_results
ld: 0711-317 ERROR: Undefined symbol: .ct_send
ld: 0711-317 ERROR: Undefined symbol: .ct_command
ld: 0711-317 ERROR: Undefined symbol: .ct_cmd_alloc
ld: 0711-317 ERROR: Undefined symbol: .ct_cmd_drop
ld: 0711-317 ERROR: Undefined symbol: .ct_con_props
ld: 0711-317 ERROR: Undefined symbol: .ct_close
ld: 0711-317 ERROR: Undefined symbol: .ct_con_drop
ld: 0711-317 ERROR: Undefined symbol: .ct_con_alloc
ld: 0711-317 ERROR: Undefined symbol: .cs_locale
ld: 0711-317 ERROR: Undefined symbol: .ct_connect
ld: 0711-317 ERROR: Undefined symbol: .cs_ctx_alloc
ld: 0711-317 ERROR: Undefined symbol: .ct_init
ld: 0711-317 ERROR: Undefined symbol: .cs_ctx_drop
ld: 0711-317 ERROR: Undefined symbol: .ct_callback
ld: 0711-317 ERROR: Undefined symbol: .cs_loc_alloc
ld: 0711-317 ERROR: Undefined symbol: .ct_describe
ld: 0711-317 ERROR: Undefined symbol: .ct_bind
ld: 0711-317 ERROR: Undefined symbol: .ct_compute_info
ld: 0711-317 ERROR: Undefined symbol: .cs_convert
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.

I know that -linsck is required for AIX... if this is the cause of the problem what is it and how do I get it?

Thanks in advance...

Dave.




Draft your own NBA team!  Play Virtual GM on NBA.com!
http://games.espn.go.com/cgi/vgm/request.dll?FRONTPAGE