|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Problem installing Sybperl under Linux
Date: Oct 6 1997 2:47PM
One thing that I see is that you need to build with LINKTYPE=static,
which you set in the CONFIG file.
Michael
Steve wrote:
>
> I'm using slakware 3.2 (linux 2.0.30), perl 5.00401, sybperl 2.07 or
> 2.07b. I've set DBLIBVS=0 in the CONFIG file, I am using the elf-port
> from Michael Pippler's site, and I am getting the following errors:
>
> cu_atlas:/usr/src/sybperl-2.07# perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -ltcl
> Writing Makefile for Sybase::CTlib
> Writing Makefile for Sybase
> cu_atlas:/usr/src/sybperl-2.07# make
> mkdir ./blib
> mkdir ./blib/lib
> mkdir ./blib/arch
> mkdir ./blib/arch/auto
> mkdir ./blib/arch/auto/Sybase
> mkdir ./blib/lib/auto
> mkdir ./blib/lib/auto/Sybase
> cp lib/sql.pl ./blib/lib/./sql.pl
> cp lib/sybperl.pl ./blib/lib/./sybperl.pl
> cp lib/sybutil.pl ./blib/lib/./sybutil.pl
> cp lib/ctutil.pl ./blib/lib/./ctutil.pl
> make[1]: Entering directory `/usr/src/sybperl-2.07/BCP'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/usr/src/sybperl-2.07/BCP'
> make[1]: Entering directory `/usr/src/sybperl-2.07/CTlib'
> mkdir .././blib/lib/Sybase
> mkdir .././blib/arch/auto/Sybase/CTlib
> mkdir .././blib/lib/auto/Sybase/CTlib
> cp CTlib.pm .././blib/lib/Sybase/CTlib.pm
> AutoSplitting Sybase::CTlib (.././blib/lib/auto/Sybase/CTlib)
> /usr/bin/perl -I/usr/lib/perl5/i586-linux/5.00401 -I/usr/lib/perl5
> /usr/lib/perl5/ExtUtils/xsubpp -prototypes -typemap /usr/lib/perc
> cc -c -I/sybase/include -Dbool=char -DHAS_BOOL -I/usr/local/include
> -O2 -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\" -fpic -I/usr/lic
> Running Mkbootstrap for Sybase::CTlib ()
> chmod 644 CTlib.bs
> LD_RUN_PATH="/sybase/lib:/lib" cc -o
> ..././blib/arch/auto/Sybase/CTlib/CTlib.so -L/sybase/lib -shared
> -L/usr/local/lib CTlib.o -
> /usr/i486-linux/bin/ld:/sybase/lib/libct.a: file format not recognized;
> treating as linker script
> /usr/i486-linux/bin/ld:/sybase/lib/libct.a:1: parse error
> make[1]: *** [.././blib/arch/auto/Sybase/CTlib/CTlib.so] Error 1
> make[1]: Leaving directory `/usr/src/sybperl-2.07/CTlib'
> make: *** [subdirs] Error 2
>
> If I do a nm -s on any of the archive libs it tells me the the file
> format is not recognized. The file command said that the libs are ar
> archive files.
>
> Steve
>
> Michael sPeppler wrote:
>
> > Steve wrote:
> > >
> > > I'm having a problem installing sybperl 2.07 or 2.07b under linux.
> > The
> > > perl version I have is 5.00401 I'm using sybase.gz from the sybase
> >
> > > site, I also tried the version on www.mbay.net/~mpeppler site. I'm
> > > tried to link statically. The problem I have is when I do a make
> > test I
> > > receive the following errors:
> >
> >
> >
> > /home/
> > nape9/sybperl-2.07/blib/arch/auto/Sybase/DBlib/DBlib.a(DBlib.o):
> > > In function `to_datetime':
> > > DBlib.o(.text+0x623): undefined reference to `dbconvert'
> >
> > You are trying to build the DBlib part of sybperl which requires
> > Sybase's DBlibrary API. This library is not available on Linux,
> > unfortunately.
> >
> > Edit CONFIG and set DBLIBVS=0, then rebuild from scratch (ie
> > starting with perl Makefile.PL).
> >
> > Michael
> > --
> > Michael Peppler -||- Data Migrations Inc.
> > mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
>
> > Are you shure to have a.out-support on your linux box installed.
> Otherwise
> > you should try the elf-port of the sybase client libraries (available
> at
> > Michael Pippler's site)
>
> > Andi
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
|