I have been trying to build two Sybase related applications on a Dec Alpha
without sucess.
My system is and Alpha 2000 5/300 running DU 4.0a. I have installed Sybase Open
Client 10.0.2 and 10.0.4 in separate directories. My environment is:
PATH=/usr/local/bin:/usr/jax/bin:/sbin:/usr/sbin:/usr/bin:/usr/bin/X11
TERM=xterm
LOGNAME=root
USER=root
SHELL=/bin/csh
HOME=/
SHLVL=1
SYBASE=/usr/sybase/10.0.2
LD_LIBRARY_PATH=/usr/sybase/10.0.2/lib:/usr/local/lib:/usr/jax/lib:/usr/shlib:/usr/ccs/lib://usr/lib/cmplrs/cc:/usr/lib:/var/shlib
The applications I have been trying to build are SybPerl-2.06 and sqsh-1.5.
1. make test while building SybPerl yields:
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I.././blib/arch -I.././blib/lib
-I/usr/local/lib/perl5/alpha-dec_osf/5.003 -I/usr/local/lib/perl5 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests _at_ARGV;' t/*.t
t/ctlib.............Can't load '.././blib/arch/auto/Sybase/CTlib/CTlib.so' for
module Sybase::CTlib: dlopen: Unresolved symbols at
/usr/local/lib/perl5/DynaLoader.pm line 140.
at .././blib/lib/Sybase/CTlib.pm line 858
BEGIN failed--compilation aborted at t/ctlib.t line 8.
FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
Test returned status 2 (wstat 512)
t/cursor............Can't load '.././blib/arch/auto/Sybase/CTlib/CTlib.so' for
module Sybase::CTlib: dlopen: Unresolved symbols at
/usr/local/lib/perl5/DynaLoader.pm line 140.
at .././blib/lib/Sybase/CTlib.pm line 858
BEGIN failed--compilation aborted at t/cursor.t line 12.
FAILED tests 1-22
Failed 22/22 tests, 0.00% okay
Test returned status 2 (wstat 512)
Failed 2/2 test scripts, 0.00% okay. 52/52 subtests failed, 0.00% okay.
*** Exit 2
Stop.
*** Exit 1
Stop.
3. perl -I./blib/arch -I./blib/lib -MSybase::CTlib (thanks to Michael Peppler)
yields:
198:/usr/local/bin/perl: /sbin/loader: Fatal Error: unresolvable symbol in
./blib/arch/auto/Sybase/CTlib/CTlib.so: bsd_dna
A search of the *.so libraries in $SYBASE revealse that the sybmols bsd_* are
in the following libraries:
libinsck.so
bsd_tcp | 0004396972708304 | T | 0000000000000008
libsdna.so
bsd_dna | 0004396972708304 | T | 0000000000000008
libtcl.so
bsd_dna | 0000000000000000 | U | 0000000000000008
bsd_tcp | 0000000000000000 | U | 0000000000000008
A further search of the *.so libraries reveals that the symbols bsd_dna is not
present on DU 4.0a. I have checked the Alphas that have been upgraded to DU
4.0b and the symbols are not present there either.
3. make while building sqsh yields:
collect2: ld returned 1 exit status
/usr/bin/ld:
Unresolved:
bsd_tcp
bsd_dna
*** Exit 1
Stop.
Again missing bsd_* symbols.
I get the same results prevail whether using Sybase 10.0.2 or 10.0.4. What can
I do in order to build these applications?
Susan Dewey
Received on Mon Mar 03 1997 - 16:56:48 NZDT