Installation Issues

Installation Issues

am 23.02.2006 16:23:31 von sreedhar-k.reddy

Hi ,


I am new to SYBPERL and need your help to install DBD::sybase in AIX5 unix system.

I am working with Sybase 12.5.1.0 and installed under /data/sybase/product/12.5.1.0/
The following are my environment variables.
SYBASE=/data/sybase/product/12.5.1.0/
SYBASE_OCS=OCS-12_5

DBD-Sybase-1.07 files are under /db/pub/infra/importftp/rbh/perldbi/DBD-Sybase-1.07/
The following steps are using to install the DBD:SYBASE. I didn't modified any variables in the CONFIG or other files.

1. perl Makefile.PL
THe following is the output.

Sybase OpenClient 12.5.1 ASE Edition found.

By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where available)
when 'AutoCommit' is turned off. Versions 1.04 and older instead managed
the transactions explicitly with a 'BEGIN TRAN' before the first DML
statement. Using the 'CHAINED' mode is preferable as it is the way that
Sybase implements AutoCommit handling for both its ODBC and JDBC drivers.

Use 'CHAINED' mode by default (Y/N) [Y]: N

Running in threaded mode - looking for _r libraries...
Found -lct_r for -lct
Found -lcs_r for -lcs
Found -ltcl_r for -ltcl
Found -lcomn_r for -lcomn
Found -lintl_r for -lintl
The DBD::Sybase module need access to a Sybase server to run the tests.
To clear an entry please enter 'undef'
Sybase server to use (default: SYBASE): nyc_gedrec_sql_prd
User ID to log in to Sybase (default: sa): regreport_ny
Password (default: undef): regreport_ny13x
Sybase database to use on nyc_gedrec_sql_prd (default: undef): its_ged_daily

* Writing login information, including password, to file PWD.

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lct_r
Note (probably harmless): No library found for -lcs_r
Note (probably harmless): No library found for -ltcl_r
Note (probably harmless): No library found for -lcomn_r
Note (probably harmless): No library found for -lintl_r
Note (probably harmless): No library found for -lblk
Using DBI 1.46 (for perl 5.008 on aix-thread-multi) installed in /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/DBI /
Writing Makefile for DBD::Sybase

(nyhshutl06d1):/db/pub/infra/importftp/rbh/perldbi/DBD-Sybas e-1.07> make
cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod
cp Sybase.pm blib/lib/DBD/Sybase.pm
/usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "DBD::Sybase", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/bin/perl -p -e "s/~DRIVER~/Sybase/g" /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/DBI //Driver.xst > Sybase.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/opt/perl5/lib/5.8.0/ExtUtils/typemap Sybase.xs > Sybase.xsc && mv Sybase.xsc Sybase.c
cc_r -c -I/data/sybase/product/12.5.1.0/OCS-12_5/include -DNO_CHAINED_TRAN=1 -I/usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/D BI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" Sybase.c
cc_r -c -I/data/sybase/product/12.5.1.0/OCS-12_5/include -DNO_CHAINED_TRAN=1 -I/usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi/auto/D BI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" dbdimp.c
"dbdimp.c", line 4779.48: 1506-280 (W) Function argument assignment between types "int*" and "unsigned long*" is not allowed.
Running Mkbootstrap for DBD::Sybase ()
chmod 644 Sybase.bs
rm -f blib/arch/auto/DBD/Sybase/Sybase.so
LD_RUN_PATH="" ld -L/data/sybase/product/12.5.1.0/OCS-12_5/lib -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.exp -bE:Sybase.exp -bnoentry -lpthreads -lc_r Sybase.o dbdimp.o -o blib/arch/auto/DBD/Sybase/Sybase.so -L/data/sybase/product/12.5.1.0/OCS-12_5/lib -ldl -lm
ld: 0711-317 ERROR: Undefined symbol: .ct_dynamic
ld: 0711-317 ERROR: Undefined symbol: .ct_command
ld: 0711-317 ERROR: Undefined symbol: .ct_param
ld: 0711-317 ERROR: Undefined symbol: .cs_convert
ld: 0711-317 ERROR: Undefined symbol: .ct_cancel
ld: 0711-317 ERROR: Undefined symbol: .ct_close
ld: 0711-317 ERROR: Undefined symbol: .cs_diag
ld: 0711-317 ERROR: Undefined symbol: .blk_bind
ld: 0711-317 ERROR: Undefined symbol: .blk_rowxfer
ld: 0711-317 ERROR: Undefined symbol: .ct_results
ld: 0711-317 ERROR: Undefined symbol: .ct_res_info
ld: 0711-317 ERROR: Undefined symbol: .ct_fetch
ld: 0711-317 ERROR: Undefined symbol: .ct_capability
ld: 0711-317 ERROR: Undefined symbol: .ct_send
ld: 0711-317 ERROR: Undefined symbol: .ct_describe
ld: 0711-317 ERROR: Undefined symbol: .ct_cmd_drop
ld: 0711-317 ERROR: Undefined symbol: .blk_done
ld: 0711-317 ERROR: Undefined symbol: .ct_bind
ld: 0711-317 ERROR: Undefined symbol: .cs_dt_info
ld: 0711-317 ERROR: Undefined symbol: .cs_dt_crack
ld: 0711-317 ERROR: Undefined symbol: .ct_options
ld: 0711-317 ERROR: Undefined symbol: .blk_drop
ld: 0711-317 ERROR: Undefined symbol: .blk_alloc
ld: 0711-317 ERROR: Undefined symbol: .blk_props
ld: 0711-317 ERROR: Undefined symbol: .blk_init
ld: 0711-317 ERROR: Undefined symbol: .blk_describe
ld: 0711-317 ERROR: Undefined symbol: .ct_config
ld: 0711-317 ERROR: Undefined symbol: .ct_con_alloc
ld: 0711-317 ERROR: Undefined symbol: .cs_loc_alloc
ld: 0711-317 ERROR: Undefined symbol: .cs_locale
ld: 0711-317 ERROR: Undefined symbol: .ct_con_props
ld: 0711-317 ERROR: Undefined symbol: .ct_connect
ld: 0711-317 ERROR: Undefined symbol: .ct_con_drop
ld: 0711-317 ERROR: Undefined symbol: .ct_cmd_alloc
ld: 0711-317 ERROR: Undefined symbol: .ct_compute_info
ld: 0711-317 ERROR: Undefined symbol: .ct_send_data
ld: 0711-317 ERROR: Undefined symbol: .ct_data_info
ld: 0711-317 ERROR: Undefined symbol: .ct_get_data
ld: 0711-317 ERROR: Undefined symbol: .cs_loc_drop
ld: 0711-317 ERROR: Undefined symbol: .cs_ctx_alloc
ld: 0711-317 ERROR: Undefined symbol: .cs_config
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-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.


Stop.



I will appreciate your earliest reponse.

Thanks in advance.

Thanks & Regards,
Sreedhar Reddy,

--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.