Up Prev Next
From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: (Fwd) Re: Additional Problems with loading sybperl 2.03
Date: Feb 22 1996 7:54AM
> From: "Scott Garrison"
> 1. will I run into any problems running sybperl 2.03 that was built with perl
> 5.001m now that I'm running 5.002gamma (I guess this is a fundamental perl
> question, do I always have to rebuild my dynamically linked modules when I
> upgrade my version of perl?)
I haven't done any extensive testing on this, but it *should* work. It
will not work if there is a change in the internal Perl API, but I
haven't seen such a change between 5.001 and 5.002.
> 2. When I tried making sybperl 2.03 on 5.002gamma, I got a bunch of errors
> probably relating to the make resolving to /usr/local/lib/libtcl.a instead of
> /usr/local/sybase10.0.2/lib/libtcl.a. I've done a bunch of stuff to try to
> ameliorate this problem, but so far no luck (eg. I don't have anything in my
> extralibs.ld files and my Config.pm file has lddlflags='-shared
> -L/usr/local/lib' which is where I'm getting the resolution problem.)
Arghhhh! This !$%@# -L/usr/local/lib flag!
Under SunOS, the -L/usr/local/lib flag is NOT NECESSARY. That directory
is searched BY DEFAULT (both with the normal cc and with gcc).
Is this NOT the case under Irix? Can you please check the docs for
ld(1) and or cc to see whether /usr/local/lib is automatically
If it is, then go back and REMOVE the -L/usr/local/lib flag from
lddflags in perl5.002gamma/config.sh, run Configure -S, make depend,
make, make test. If all went well then this flag is indeed not
necessary and you will save yourself no end of headaches!
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -I../blib/arch/ -I../blib/lib/
> -I/usr/local/lib/perl5/IP22-irix/5.002 -I/usr/local/lib/perl5 -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/ctlib.............Subroutine Sybase::CTlib::CS_ROW_RESULT redefined at
> (eval 2) line 1.
> Subroutine Sybase::CTlib::CS_PARAM_RESULT redefined at (eval 3) line 1.
> Subroutine Sybase::CTlib::CS_STATUS_RESULT redefined at (eval 4) line 1.
> Subroutine Sybase::CTlib::CS_CURSOR_RESULT redefined at (eval 5) line 1.
> Subroutine Sybase::CTlib::CS_COMPUTE_RESULT redefined at (eval 6) line 1.
> Subroutine Sybase::CTlib::CS_SUCCEED redefined at (eval 10) line 1.
> All tests successful.
See my other message regarding sybperl 2.03 make test with perl5.002gamma.