Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Scott Garrison" <sdg at osprey dot corp dot sgi dot com>
Subject: (Fwd) Re: Additional Problems with loading sybperl 2.03
Date: Feb 22 1996 7:55PM

That was it, I pulled the -L/usr/local/lib flag out of the lddlflags in
5.002/gamma/ and everything worked fine (though I obviously did still
get the 81.25% okay on the make test that you mentioned elsewhere should be


On Feb 22,  8:54am, Michael Peppler wrote:
> Subject: Re: (Fwd) Re: Additional Problems with loading sybperl 2.03
> > From: "Scott Garrison" 
> >
> > 1. will I run into any problems running sybperl 2.03 that was built with
> > 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
> > /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
> > extralibs.ld files and my 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
> searched?
> If it is, then go back and REMOVE the -L/usr/local/lib flag from
> lddflags in perl5.002gamma/, 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/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
> >    Subroutine Sybase::CTlib::CS_SUCCEED redefined at (eval 10) line 1.
> >    ok
> >    All tests successful.
> See my other message regarding sybperl 2.03 make test with perl5.002gamma.
> Michael
>-- End of excerpt from Michael Peppler