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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Facing problem while setting up Sybperl
Date: Feb 3 1998 3:39PM

It looks to me like you did not install the Sybase libraries properly.

Michael

Rajesh Sharda wrote:
> 
> hi!
> 
>     I tried to implement the Sybperl on my m/c, as per the suggestions on
> the page:
> 
>     http://www.ssc.com/lg/issue18/sybase.html.
> 
>     Only in the final stages, when I tried to run 'make test', I got the
> following error:
> 
> Writing Makefile.aperl for Sybase
> make -f Makefile.aperl perl
> make[1]: Entering directory `/var/warehouse/pub/prog/sybperl/sybperl-2.09'
> Writing perlmain.c
> cd . && cc -c  -I/usr/lib/perl5/CORE  -Dbool=char -DHAS_BOOL -O2 \
>    -DVERSION=\"2.09\" \
> -DXS_VERSION=\"2.09\" -I/usr/lib/perl5/CORE perlmain.c
> cat /usr/lib/perl5/auto/DynaLoader/extralibs.ld >>
> blib/arch/auto/Sybase/extrali
> --More--/var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/C
> 
> Tli:
> CTlib.o(.text+0xc8b): undefined reference to `cs_convert'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xd6b): undefined reference to `cs_convert'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xebf): undefined reference to `cs_convert'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xf9f): undefined reference to `cs_convert'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x1045): undefined reference to `cs_convert'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.w
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x1761): undefined reference to `ct_res_info'
> CTlib.o(.text+0x1832): undefined reference to `ct_compute_info'
> CTlib.o(.text+0x18c3): undefined reference to `ct_describe'
> CTlib.o(.text+0x1924): undefined reference to `ct_compute_info'
> CTlib.o(.text+0x195d): undefined reference to `ct_compute_info'
> CTlib.o(.text+0x1aec): undefined reference to `ct_bind'
> CTlib.o(.text+0x1be4): undefined reference to `ct_bind'
> CTlib.o(.text+0x1c70): undefined reference to `ct_bind'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x1cd1): undefined reference to `ct_res_info'
> CTlib.o(.text+0x1d75): undefined reference to `ct_describe'
> CTlib.o(.text+0x1de5): undefined reference to `ct_bind'
> CTlib.o(.text+0x1e74): undefined reference to `ct_fetch'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x236b): undefined reference to `ct_con_props'
> CTlib.o(.text+0x27f9): undefined reference to `ct_con_props'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x2893): undefined reference to `ct_con_props'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x28ee): undefined reference to `cs_ctx_alloc'
> CTlib.o(.text+0x290d): undefined reference to `ct_init'
> CTlib.o(.text+0x2920): undefined reference to `cs_ctx_drop'
> CTlib.o(.text+0x294a): undefined reference to `ct_callback'
> CTlib.o(.text+0x2972): undefined reference to `ct_callback'
> CTlib.o(.text+0x299a): undefined reference to `ct_callback'
> CTlib.o(.text+0x29c9): undefined reference to `ct_config'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x72e1): undefined reference to `ct_con_alloc'
> CTlib.o(.text+0x7324): undefined reference to `ct_con_props'
> CTlib.o(.text+0x7363): undefined reference to `ct_con_props'
> CTlib.o(.text+0x73a2): undefined reference to `ct_con_props'
> CTlib.o(.text+0x74d5): undefined reference to `ct_con_props'
> CTlib.o(.text+0x7538): undefined reference to `ct_connect'
> CTlib.o(.text+0x754f): undefined reference to `ct_con_drop'
> CTlib.o(.text+0x7569): undefined reference to `ct_cmd_alloc'
> CTlib.o(.text+0x7586): undefined reference to `ct_con_drop'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x777d): undefined reference to `ct_cmd_alloc'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x7996): undefined reference to `ct_cmd_drop'
> CTlib.o(.text+0x79b4): undefined reference to `ct_close'
> CTlib.o(.text+0x79bc): undefined reference to `ct_con_drop'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x7aa5): undefined reference to `ct_cmd_alloc'
> CTlib.o(.text+0x7ade): undefined reference to `ct_cmd_drop'
> CTlib.o(.text+0x7b15): undefined reference to `ct_cmd_drop'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x7bee): undefined reference to `ct_command'
> CTlib.o(.text+0x7bfe): undefined reference to `ct_send'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x7d60): undefined reference to `ct_command'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x7e1b): undefined reference to `ct_send'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x7ecd): undefined reference to `ct_results'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x8496): undefined reference to `ct_cancel'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x85e4): undefined reference to `ct_fetch'
> CTlib.o(.text+0x89b6): undefined reference to `ct_cancel'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x8b99): undefined reference to `ct_options'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x8dc0): undefined reference to `ct_config'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x8f79): undefined reference to `cs_dt_info'
> CTlib.o(.text+0x8fb4): undefined reference to `cs_dt_info'
> CTlib.o(.text+0x8ffc): undefined reference to `cs_dt_info'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x90dc): undefined reference to `ct_res_info'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x93f4): undefined reference to `ct_cursor'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0x9c92): undefined reference to `ct_param'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xa18a): undefined reference to `cs_dt_crack'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xa58c): undefined reference to `cs_cmp'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xaabe): undefined reference to `cs_dt_crack'
> CTlib.o(.text+0xab17): undefined reference to `cs_dt_info'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xb0e8): undefined reference to `cs_cmp'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xb4a5): undefined reference to `cs_calc'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xbb17): undefined reference to `cs_cmp'
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTl
> 
> ib.:
> CTlib.o(.text+0xbf05): undefined reference to `cs_calc'
> make[1]: *** [perl] Error 1
> make: *** [perl] Error 2
> bs.all
> cat /usr/lib/perl5/auto/Sybase/CTlib/extralibs.ld >>
> blib/arch/auto/Sybase/extra
> libs.all
> cat /usr/lib/perl5/i586-linux/5.003/auto/DynaLoader/extralibs.ld >>
> blib/arch/au
> to/Sybase/extralibs.all
> cat
> /var/warehouse/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/ext
> 
> ralibs.ld >> blib/arch/auto/Sybase/extralibs.all
> cc -rdynamic -o perl -O2 ./perlmain.o /usr/lib/perl5/CORE/libperl.a
> /var/warehou
> se/pub/prog/sybperl/sybperl-2.09/blib/arch/auto/Sybase/CTlib/CTlib.a
> /usr/lib/pe
> rl5/i586-linux/5.003/auto/DynaLoader/DynaLoader.a
> /usr/lib/perl5/auto/Sybase/CTl
> ib/CTlib.a /usr/lib/perl5/auto/DynaLoader/DynaLoader.a `cat
> ./blib/arch/auto/Syb
> ase/extralibs.all` -lgdbm -ldb /lib/libdl.so.1 -lm -lc
> make[1]: Leaving directory `/var/warehouse/pub/prog/sybperl/sybperl-2.09'
> 
> My setup is:
> 
>     O.S :               Linux2.0
>     Web Server:                 Apache1.24
>     Database:           MSSQL6.5 on NT4.0
>     Perl version:               5.003
>     Sybperl version:    2.09(sybase.tgz)
> 
> Any help in this matter would be highly appreciated!
> 
> Regards,
> Rajesh

-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler