PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: nsmudde at csc dot com
Subject: Re: Sybperl errors.
Date: Aug 22 2001 11:47PM

There are mostly .a files in /lib and /usr/lib.  There are a few .so.a
lib.b
libC.a
libC128.a
libC128_r.a
libC_r.a
libDtHelp.a
libDtSvc.a
libDtTerm.a
libDtWidget.a
libFS.a
libICE.a
libIM.a
libMotifUI.a
libMrm.a
libPW.a
libSM.a
libSpmi.a
libUil.a
libX11.a
libXau.a
libXaw.a
libXdmcp.a
libXext.a
libXi.a
libXm.a
libXmu.a
libXt.a
libXtst.a
libarm.a
libarm2.a
libasl.a
libauthm.a
libbind.a
libblas.a
libbsd.a
libbsd_r.a
libc.a
libc128.a
libc_r.a
libc_t.a
libcfg.a
libcrypt.a
libcsa.a
libcsys.a
libcur.a
libcurses.a
libdbm.a
libdbx.a
libdiag.a
libdl.a
libfrca.a
libg.a
libg.exp
libgai.a
libgaimisc.a
libgair4.a
libi18n.a
libi4shripcs.a
libi4shrndl.a
libi4shrnetj.a
libi4shrshl.a
libibmcls.a
libibmuis.a
libiconv.a
libisode.a
libkap.a
libl.a
libld.a
libldap.a
libldapjrt.a
libldapstatic.a
libldif.a
liblvm.a
libm.a
libm_r.a
libmbx.a
libmsaa.a
libmsaa_r.a




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
 >  >
 >  > 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:
 >  >  > We are having trouble loading sybperl.  The system admin has tried
 >  >  > everything from changing various path statements to reinstalling
perl
 >  > from
 >  >  > source.  Please see errors in attached message.  I know that we
 > resolved
 >  >  > this before on another system, but nothing works here.  Any help
is
 >  >  > appreciated.
 >  >
 >  > A couple of issues.
 >  >
 >  > First:
 >  >
 >  >  > We are running:
 >  >  > $ perl -V
 >  >  > Summary of my perl5 (revision 5.0 version 6 subversion 0)
 > configuration:
 >  >
 >  >  >   Linker and Libraries:
 >  >  >     ld='ld', ldflags =' -L/usr/local/lib -b32'
 >  >  >     libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
 >  >  >     libs=-lbind -lnsl -ldbm -ldb -ldl -lld -lm -lC -lc -lcrypt
-lbsd
 >  > -lPW
 >  >  > -licov
 >  >
 >  > The -ldb above is going to cause problems if libdb.a is from Berkeley
 >  > DB 1.x (because it has a function called dbopen(), which will
conflict
 >  > with DBlibrary's dbopen()).
 >  >
 >  >  > Hi Nancy,
 >  >  > Here are the errors.  I noticed that a lot of the undefined
symbols
 >  > start
 >  >  > with "ct". Does this product expect to have the sybase ct
libraries
 >  >  > installed on the server? If it does, that could be a problem as we
do
 >  > not
 >  >  > own the server version.
 >  >  >
 >  >  > Al
 >  >  >
 >  >  > newhacunix1:root> perl Makefile.PL
 >  >  > Checking if your kit is complete...
 >  >  > Looks good
 >  >  > Checking if your kit is complete...
 >  >  > Looks good
 >  >  > Writing Makefile for Sybase::BCP
 >  >  > Note (probably harmless): No library found for -lct
 >  >  > Note (probably harmless): No library found for -lcs
 >  >  > Note (probably harmless): No library found for -ltcl
 >  >  > Note (probably harmless): No library found for -lcomn
 >  >  > Note (probably harmless): No library found for -lintl
 >  >  > Note (probably harmless): No library found for -linsck
 >  >  > Writing Makefile for Sybase::CTlib
 >  >  > Note (probably harmless): No library found for -lsybdb
 >  >  > Note (probably harmless): No library found for -linsck
 >  >
 >  > OK - now this is the real problem. When running perl Makefile.PL the
 >  > script can't find the Sybase library files anywhere (or at least not
 >  > where it expects them).
 >  >
 >  > Is the SYBASE env. variable set correctly?
 >  >
 >  > If this is ASE 12.x, is the SYBASE_OCS variable set correctly? (in
 >  > general for ASE 12.x the easiest thing to do is to source the
 >  > SYBASE.sh or SYBASE.csh file that the Sybase installation creates in
 >  > the root directory of the Sybase install tree to get the correct
 >  > env. variables set).
 >  >
 >  > Michael
 >  > --
 >  > Michael Peppler - Data Migrations Inc. -
http://www.mbay.net/~mpeppler
 >  > mpeppler@peppler.org - mpeppler@mbay.net
 >  > International Sybase User Group - http://www.isug.com
 >  >
 >  >
 >
 > --
 > Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
 > mpeppler@peppler.org - mpeppler@mbay.net
 > International Sybase User Group - http://www.isug.com
 >
 >

--
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
mpeppler@peppler.org - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com