We are currently trying to install Sybperl 2.151 on Sybase 12.5 (64bit). Can this be done or do need to use 32 bit open client?



This is the problem we currently have as sent to me by my network admin the last time he tried. I know this a bit lengthy but if someone could skim out the important parts and give us some help, it would be greatly appreciated.

Jeff



<<
O.K.
So after consulting references on the net, Troy and I agreed that we would create sym links of:

/opt/sybase/home/OCS-12_5/lib/libinsck.so --> /opt/sybase/home/OCS-12_5/lib/libinsck.so.12.5.0.4
/opt/sybase/home/OCS-12_5/lib/libtli.so --> /opt/sybase/home/OCS-12_5/lib/libtli.so.12.5.0.4

Doing this got past the "make" errors.

However, proceeding on to "make test" results in the following:
> /usr/ccs/bin/make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/bcp....ok
All tests successful.
Files=1, Tests=9, 1 wallclock secs ( 0.27 cusr + 0.08 csys = 0.35 CPU)
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/blk....Can't load '/home/tracs/users/jvacha/sybperl/sybperl-2.151/BLK/../blib/arch/auto/Sybase/CTlib/CTlib.so' for module Sybase::CTlib: ld.so.1: /usr/local/bin/perl: fatal: relocation error: file /home/tracs/users/jvacha/sybperl/sybperl-2.151/BLK/../blib/arch/auto/Sybase/CTlib/CTlib.so: symbol blk_drop: referenced symbol not found at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
at /home/tracs/users/jvacha/sybperl/sybperl-2.151/BLK/../blib/lib/Sybase/BLK.pm line 312
Compilation failed in require at /home/tracs/users/jvacha/sybperl/sybperl-2.151/BLK/../blib/lib/Sybase/BLK.pm line 312.
BEGIN failed--compilation aborted at /home/tracs/users/jvacha/sybperl/sybperl-2.151/BLK/../blib/lib/Sybase/BLK.pm line 312.
Compilation failed in require at t/blk.t line 14.
BEGIN failed--compilation aborted at t/blk.t line 14.
t/blk....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/blk.t 255 65280 10 10 100.00% 1-10
Failed 1/1 test scripts, 0.00% okay. 10/10 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
Current working directory /home/tracs/users/jvacha/sybperl/sybperl-2.151/BLK
*** Error code 1
make: Fatal error: Command failed for target `test'

Using this year-old reference on the net:
http://dbforums.com/arch/56/2002/7/425558
If still valid, this implies that we need to use the 32-bit version of the client at OCS-12_5_32 instead of OCS-12_5.

Tell me what you Sybase guys would like me to do next to compile your Sybase stuff.
I now have a number of hours involved in this process and I regard this as above and beyond the $call$.

Tim

-----Original Message-----
From: O'Connor, Tim, arvato systems - NMI-DM
Sent: Thursday, November 13, 2003 2:32 PM
To: Vacha, Jeff, BMG - Lyndhurst
Cc: Deppert, Troy, arvato systems
Subject: FW: sybperl make failure results


Jeff,

Enclosed you can find the latest results of sybperl compilation problems. Using the sunfreeware version of perl for Solaris8, we finally got usage of gcc as the compiler.

The new problem is that the compile can't find the libraries it needs to link. In /opt/sybase/home/OCS-12_5/lib, it wants to use the libct, libcs, libtcl, libcomn, libintl libinsck, and libtli libraries, but can't find the last two libraries as can be seen from the enclosed ld: fatal: complaints.

Below that I have included an "ls" of the libraries available in OCS-12_5/lib. You'll see that OCS has appended sybase version numbers to the libinsck and libtli library file names, thus the probable failure of the sybperl compile to find them.

Please search the sybperl download site for this known problem/resolution, or forward the problem to the sybperl author.

Thanks,
Tim

-----Original Message-----
From: Super-User [mailto:root@bmsin131.bmgmusic.us.bertelsmann.com]
Sent: Thursday, November 13, 2003 2:24 PM
To: tim.oconnor@arvatosystems.com
Subject: sybperl make failure results

Failure complaints from compile output:

LD_RUN_PATH="/opt/sybase/home/OCS-12_5/lib:/usr/lib" gcc -B/usr/ccs/bin/ -L/opt/sybase/home/OCS-12_5/lib -G -L/usr/local/lib CTlib.o -o ../blib/arch/auto/Sybase/CTlib/CTlib.so -L/opt/sybase/home/OCS-12_5/lib -lct -lcs -ltcl -lcomn -lintl -linsck -ltli -lm
ld: fatal: library -linsck: not found
ld: fatal: library -ltli: not found
ld: fatal: File processing errors. No output written to ../blib/arch/auto/Sybase/CTlib/CTlib.so
collect2: ld returned 1 exit status


Here is an "ls" of the libraries available:

/opt/sybase/home/OCS-12_5/lib/libct.so
/opt/sybase/home/OCS-12_5/lib/libct64.a
/opt/sybase/home/OCS-12_5/lib/libct64.so
/opt/sybase/home/OCS-12_5/lib/libct_r.so
/opt/sybase/home/OCS-12_5/lib/libct_r64.a
/opt/sybase/home/OCS-12_5/lib/libct_r64.so


/opt/sybase/home/OCS-12_5/lib/libcs.so
/opt/sybase/home/OCS-12_5/lib/libcs64.a
/opt/sybase/home/OCS-12_5/lib/libcs64.so
/opt/sybase/home/OCS-12_5/lib/libcs_r.so
/opt/sybase/home/OCS-12_5/lib/libcs_r64.a
/opt/sybase/home/OCS-12_5/lib/libcs_r64.so


/opt/sybase/home/OCS-12_5/lib/libtcl.so
/opt/sybase/home/OCS-12_5/lib/libtcl64.a
/opt/sybase/home/OCS-12_5/lib/libtcl64.so
/opt/sybase/home/OCS-12_5/lib/libtcl_r.so
/opt/sybase/home/OCS-12_5/lib/libtcl_r64.a
/opt/sybase/home/OCS-12_5/lib/libtcl_r64.so


/opt/sybase/home/OCS-12_5/lib/libcomn.so
/opt/sybase/home/OCS-12_5/lib/libcomn64.a
/opt/sybase/home/OCS-12_5/lib/libcomn64.so
/opt/sybase/home/OCS-12_5/lib/libcomn_r.so
/opt/sybase/home/OCS-12_5/lib/libcomn_r64.a
/opt/sybase/home/OCS-12_5/lib/libcomn_r64.so


/opt/sybase/home/OCS-12_5/lib/libintl.so
/opt/sybase/home/OCS-12_5/lib/libintl64.a
/opt/sybase/home/OCS-12_5/lib/libintl64.so
/opt/sybase/home/OCS-12_5/lib/libintl_r.so
/opt/sybase/home/OCS-12_5/lib/libintl_r64.a
/opt/sybase/home/OCS-12_5/lib/libintl_r64.so


/opt/sybase/home/OCS-12_5/lib/libinsck.so.12.5.0
/opt/sybase/home/OCS-12_5/lib/libinsck.so.12.5.0.1
/opt/sybase/home/OCS-12_5/lib/libinsck.so.12.5.0.2
/opt/sybase/home/OCS-12_5/lib/libinsck.so.12.5.0.3
/opt/sybase/home/OCS-12_5/lib/libinsck.so.12.5.0.4
/opt/sybase/home/OCS-12_5/lib/libinsck64.so.12.5.0
/opt/sybase/home/OCS-12_5/lib/libinsck64.so.12.5.0.1
/opt/sybase/home/OCS-12_5/lib/libinsck64.so.12.5.0.2
/opt/sybase/home/OCS-12_5/lib/libinsck64.so.12.5.0.3
/opt/sybase/home/OCS-12_5/lib/libinsck64.so.12.5.0.4
/opt/sybase/home/OCS-12_5/lib/libinsck_r.so.12.5.0
/opt/sybase/home/OCS-12_5/lib/libinsck_r.so.12.5.0.1
/opt/sybase/home/OCS-12_5/lib/libinsck_r.so.12.5.0.2
/opt/sybase/home/OCS-12_5/lib/libinsck_r.so.12.5.0.3
/opt/sybase/home/OCS-12_5/lib/libinsck_r.so.12.5.0.4
/opt/sybase/home/OCS-12_5/lib/libinsck_r64.so.12.5.0
/opt/sybase/home/OCS-12_5/lib/libinsck_r64.so.12.5.0.1
/opt/sybase/home/OCS-12_5/lib/libinsck_r64.so.12.5.0.2
/opt/sybase/home/OCS-12_5/lib/libinsck_r64.so.12.5.0.3
/opt/sybase/home/OCS-12_5/lib/libinsck_r64.so.12.5.0.4


/opt/sybase/home/OCS-12_5/lib/libtli.so.12.5.0
/opt/sybase/home/OCS-12_5/lib/libtli.so.12.5.0.1
/opt/sybase/home/OCS-12_5/lib/libtli.so.12.5.0.2
/opt/sybase/home/OCS-12_5/lib/libtli.so.12.5.0.3
/opt/sybase/home/OCS-12_5/lib/libtli.so.12.5.0.4
/opt/sybase/home/OCS-12_5/lib/libtli64.so.12.5.0
/opt/sybase/home/OCS-12_5/lib/libtli64.so.12.5.0.1
/opt/sybase/home/OCS-12_5/lib/libtli64.so.12.5.0.2
/opt/sybase/home/OCS-12_5/lib/libtli64.so.12.5.0.3
/opt/sybase/home/OCS-12_5/lib/libtli64.so.12.5.0.4
/opt/sybase/home/OCS-12_5/lib/libtli_r.so.12.5.0
/opt/sybase/home/OCS-12_5/lib/libtli_r.so.12.5.0.1
/opt/sybase/home/OCS-12_5/lib/libtli_r.so.12.5.0.2
/opt/sybase/home/OCS-12_5/lib/libtli_r.so.12.5.0.3
/opt/sybase/home/OCS-12_5/lib/libtli_r.so.12.5.0.4
/opt/sybase/home/OCS-12_5/lib/libtli_r64.so.12.5.0
/opt/sybase/home/OCS-12_5/lib/libtli_r64.so.12.5.0.1
/opt/sybase/home/OCS-12_5/lib/libtli_r64.so.12.5.0.2
/opt/sybase/home/OCS-12_5/lib/libtli_r64.so.12.5.0.3
/opt/sybase/home/OCS-12_5/lib/libtli_r64.so.12.5.0.4

>>