|
|
sybperl-l Archive
Up Prev Next
From: h franks <harfranks at yahoo dot com>
Subject: Re: Sybperl errors.
Date: Aug 24 2001 5:59PM
finally someone comes through and answers my
questions. With my time off of school full time I will
take a look at the .a and .so.a and find out all the
problems and see if I can make a couple patches but
dont count on it soon. Keep up the good debugging.
Joe
--- Brad_Ziegler@notes.mdor.state.mn.us wrote:
>
> Double check the libpath to ensure that it is also
> pointing at the correct
> Sybase lib directory. That is usually where I go
> wrong when the build of
> the makefile goes awry.
> Brad
>
>
>
>
>
>
> Michael Peppler
>
>
> SybPerl Discussion List
>
> rg> cc:
>
>
> Sent by:
> Subject: Re: Sybperl errors.
>
> owner-SYBPERL-L@lis
>
>
> t.cren.net
>
>
>
>
>
>
>
>
> 08/23/01 10:18 AM
>
>
> Please respond to
>
>
> SYBPERL-L
>
>
>
>
>
>
>
>
>
>
>
>
> nsmudde@csc.com writes:
> > There are mostly .a files in /lib and /usr/lib.
> There are a few .so.a
> > lib.b
> > libC.a
> > libC128.a
>
> Hmmm... All I can think of is that perl isn't
> finding the libraries
> when it tries to build the Makefiles (during perl
> Makefile.PL).
>
> >From your original email, I see that perl thinks
> shared libraries
> should end in .a, but not .so.a, and that may be the
> problem.
>
> Was perl built on this box/OS version?
>
> It seems to me that perl is looking for libct.a and
> not finding it
> (and doesn't see libct.so.a as a viable
> alternative!)
>
> Anyone else with AIX experience on this list?
>
> Michael
>
>
> >
> > Michael Peppler
> @list.cren.net on 08/22/2001
> 03:51:38
> > PM
> >
> > Please respond to SYBPERL-L@list.cren.net
> >
> > Sent by: owner-SYBPERL-L@list.cren.net
> >
> >
> > To: SybPerl Discussion List
>
> > cc:
> > Subject: Re: Sybperl errors.
> >
> >
> > nsmudde@csc.com writes:
> > > This is what is in the directory.
> > > % cd /sybase/syb115/lib
> > > % ll
> > > total 30288
> > > -rwxr-xr-x 1 sybase sybase 7944759 Mar
> 07 1998 dbgomni1.so*
> > > -rwxr-xr-x 1 sybase sybase 720592 Dec
> 23 1997 libcomn.so.a*
> > > -rwxr-xr-x 1 sybase sybase 742794 Dec
> 23 1997 libcomn_r.so.a*
> > > -rwxr-xr-x 1 sybase sybase 109515 Dec
> 23 1997 libcs.so.a*
> >
> > Hmmm... I'm not familiar with AIX, but the file
> names seem strange
> > (ending in .so.a rather than just .so)
> >
> > If that is wrong then the Makefile.PL script
> won't find any of the
> > library files...
> >
> > Could you check in /lib or /usr/lib to see what
> the naming convention
> > for library files should be?
> >
> > Michael
> >
> >
> > > Michael Peppler
> @list.cren.net on 08/22/2001
> > 03:04:42
> > > PM
> > >
> > > Please respond to SYBPERL-L@list.cren.net
> > >
> > > Sent by: owner-SYBPERL-L@list.cren.net
> > >
> > >
> > > To: SybPerl Discussion List
>
> > > cc:
> > > Subject: Re: Sybperl errors.
> > >
> > >
> > > nsmudde@csc.com writes:
> > > > Thanks for the quick response.
> > > > Actually we have both Sybase 11.5 and 12 on
> this machine with 11.5
> as
> > > > production. All of the variables are set
> to the 11.5
> installation.
> > > >
> > > > We noticed that the LD_RUN_PATH points to
> /lib but we have set
> this
> > path
> > > to
> > > > /sybase/syb115/lib in both the profile and
> the makefile.
> > > > Could this be a problem?
> > > >
> > > > -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
> > >
> > > You can see from the link line here that the
> script didn't find any
> > > Sybase libraries. There should be a -lct -lcs
> -lcomn -ltcl -lintl, at
> > > least.
> > >
> > > So go check /sybase/syb115/lib and see if you
> have any .a or .so
> files
> > > in there - my guess is that they aren't
> installed.
> > >
> > > Michael
> > >
> > >
> > > > Michael Peppler
> @list.cren.net on 08/22/2001
> > > 01:31:15
> > > > PM
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
|