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: nsmudde at csc dot com
Subject: Sybperl errors.
Date: Aug 22 2001 6:48PM

We are having trouble loading sybperl.  The system admin has tried
everything from changing various path statements to reinstalling perl from
source.  Please see errors in attached message.  I know that we resolved
this before on another system, but nothing works here.  Any help is
appreciated.
Nancy

We are running:
$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=aix, osvers=4.3.2.0, archname=aix
    uname='aix esther 3 4 00920517a000 '
    config_args=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undf
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-I/'
    ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-I/'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksiz8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib -b32'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldb -ldl -lld -lm -lC -lc -lcrypt -lbsd -lPW
-licov
    libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-bE:/usr/local/lib'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$('
Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under aix
  Compiled at Aug 17 2000 16:31:47
  @INC:
    /usr/local/lib/perl5/5.6.0/aix
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/aix
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl/5.005/aix
    /usr/local/lib/perl5/site_perl/5.005
    /usr/local/lib/perl5/site_perl
    /usr/opt/perl5/lib/5.6.0/aix
    /usr/opt/perl5/lib/5.6.0
    /usr/sbin/rsct/perl5/lib/site_perl
    /usr/opt/perl5/lib/site_perl
    /usr/opt/perl5/lib
    .
$


---------------------- Forwarded by Nancy C Smudde/TMG/CSC on 08/22/2001
11:38 AM ---------------------------


Al S Lo Piccolo/TMG/CSC
08/15/2001 02:39 PM

To:   Nancy C Smudde/TMG/CSC@CSC
cc:
Subject:  Sybperl errors.


Hi Nancy,
Here are the errors.  I noticed that a lot of the undefined symbols start
with "ct". Does this product expect to have the sybase ct  libraries
installed on the server? If it does, that could be a problem as we do not
own the server version.

Al

newhacunix1:root> perl Makefile.PL
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
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
newhacunix1:root> make
mkdir blib
mkdir blib/lib
cp lib/sybperl.pl blib/lib/sybperl.pl
cp lib/sybutil.pl blib/lib/sybutil.pl
cp config.pl blib/lib/config.pl
cp lib/ctutil.pl blib/lib/ctutil.pl
cp lib/sql.pl blib/lib/sql.pl
        /usr/bin/perl "-I/usr/local/lib/perl5/5.6.0/aix" "
-I/usr/local/lib/perl5/5.6.0" -e 'use ExtUtils::Mksymlists;  Mksymlists
("NAME" => "Sybase", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" =>
[]);'
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Sybase
mkdir blib/lib/auto/Sybase
mkdir ../blib/lib/Sybase
cp BCP.pm ../blib/lib/Sybase/BCP.pm
        /usr/bin/perl "-I/usr/local/lib/perl5/5.6.0/aix" "
-I/usr/local/lib/perl5/5.6.0" -e 'use ExtUtils::Mksymlists;  Mksymlists
("NAME" => "Sybase::BCP", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS"
=> []);'
mkdir ../blib/arch/auto/Sybase/BCP
mkdir ../blib/lib/auto/Sybase/BCP
mkdir ../blib/man3
Manifying ../blib/man3/Sybase::BCP.3
cp CTlib.pod ../blib/lib/Sybase/CTlib.pod
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" -e 'use ExtUtils::Mksymlists;  Mksymlists
("NAME" => "Sybase::CTlib", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS"
=> []);'
        /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/sybase/syb115/include -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=16384 -I/usr/local/include -q32 -D_LARGE_FILES
-qlonglong -O      -DVERSION=\"2.13\"  -DXS_VERSION=\"2.13\"
-I/usr/local/lib/perl5/5.6.0/aix/CORE -DCTLIBVS=100 -DSYBPLVER='"2.13"'
-DDO_TIE CTlib.c
cc: unrecognized option `-qmaxmem=16384'
cc: unrecognized option `-q32'
cc: unrecognized option `-qlonglong'
mkdir ../blib/arch/auto/Sybase/CTlib
Running Mkbootstrap for Sybase::CTlib ()
        chmod 644 CTlib.bs
        LD_RUN_PATH="/lib" ld -o ../blib/arch/auto/Sybase/CTlib/CTlib.so
-L/sybase/syb115/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/sybase/syb115/lib -lm
ld: 0711-317 ERROR: Undefined symbol: .cs_convert
ld: 0711-317 ERROR: Undefined symbol: .ct_res_info
ld: 0711-317 ERROR: Undefined symbol: .ct_compute_info
ld: 0711-317 ERROR: Undefined symbol: .ct_describe
ld: 0711-317 ERROR: Undefined symbol: .ct_bind
ld: 0711-317 ERROR: Undefined symbol: .ct_fetch
ld: 0711-317 ERROR: Undefined symbol: .ct_con_props
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: .ct_config
ld: 0711-317 ERROR: Undefined symbol: .cs_loc_alloc
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: .ct_con_drop
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_close
ld: 0711-317 ERROR: Undefined symbol: .ct_command
ld: 0711-317 ERROR: Undefined symbol: .ct_send
ld: 0711-317 ERROR: Undefined symbol: .ct_results
ld: 0711-317 ERROR: Undefined symbol: .ct_get_data
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_cancel
ld: 0711-317 ERROR: Undefined symbol: .ct_options
ld: 0711-317 ERROR: Undefined symbol: .cs_dt_info
ld: 0711-317 ERROR: Undefined symbol: .ct_cursor
ld: 0711-317 ERROR: Undefined symbol: .ct_param
ld: 0711-317 ERROR: Undefined symbol: .cs_dt_crack
ld: 0711-317 ERROR: Undefined symbol: .cs_cmp
ld: 0711-317 ERROR: Undefined symbol: .cs_calc
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.
newhacunix1:root>