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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Help to install sybperl 2.07
Date: Sep 23 1997 1:35PM

Alexandro Brito wrote:
> 
> On Fri, 19 Sep 1997, Michael Peppler wrote:
> 
> > Alexandro Brito wrote:
> > >
> > > Hi,
> > >
> > > I'm installing sybperl 2.07. I'm following the README file to install it
> > > bun when I try to execute the "make test" statment I receive the following
> > > output :
> > >
> > > # make test
> > >         PERL_DL_NONLAZY=1 /usr/local/bin/perl -I.././blib/arch
> > > -I.././blib/lib -I/usr/local/lib/perl5/i386-sco_sv/5.003
> > > -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose);
> > > $verbose=0; runtests @ARGV;' t/*.t
> > > t/bcp...............Can't load '.././blib/arch/auto/Sybase/DBlib/DBlib.so'
> > > for module Sybase::DBlib: dynamic linker: /usr/local/bin/perl: relocation
> > > error: symbol not found: _ftol at /usr/local/lib/perl5/DynaLoader.pm line
> > > 140.
> >
> > Well that's an error I've not seen before (but then I don't know of
> > many people who run SCO anymore...)
> >
> > I think you need to go into /usr/lib and run something like (csh syntax)
> > foreach i (*.a)
> > echo $i
> > nm $i | grep ftol
> > end
> >
> > and see in which library that symbol is defined.
> >
> > Also, do the same thing in your Sybase lib directory, because it might
> > just possibly be defined there...
> >
> > Then, if you find it, you need to add that library to the EXTRA_LIBS
> > line in sybperl's CONFIG and rebuild from scratch (ie starting with
> > perl Makefile.PL).
> >
> > Michael
> > --
> > Michael Peppler       -||-  Data Migrations Inc.
> > mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler
> >
> 
> Thank'a Michael,
> 
> I found the symbol ftol in libc.a library and I added this name to
> EXTRA_LIBS line in CONFIG file but I receive the following output from
> "perl Makefile.PL" statement:
> 
> # perl Makefile.PL
> Writing Makefile for Sybase::BCP
> Warning (will try anyway): No library found for -libc

You need to say -lc instead of -libc (the -l is a flag, and the lib
in the library name is silent).

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler