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 peppler dot org>
Subject: Re: sybperl on Red Hat Linux 8.0
Date: Nov 5 2002 10:34PM

On Tue, 2002-11-05 at 07:58, Ragnar Wisl°ff wrote:
> Sitat Michael Peppler :
> 
> 
> > It should be possible.
> > 
> > Note that I've been using the stock perl RPM on RedHat for the
> > last
> > couple of years (RH 7.1 and 7.3) and they work perfectly with
> > sybperl -
> > i.e. no conflict with libdb.a:
> > 
> > perl -v
> > 
> > This is perl, v5.6.1 built for i386-linux
> > 
> > perl -V:libs
> > libs='-lnsl -ldl -lm -lc -lcrypt -lutil';
> > 
> 
> Thanks for responding, Michael. You are indeed correct, on RHL 
> 7.3 this is the case. I get the same result. But this is 
> unfortunately *not* the case for RHL 8.0, which shows this:
> 
> perl -V:libs
> libs='-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil';
> 
> So Red Hat has changed something, but I can't find out how to 
> change it back.
> 

Hmmm.

Have you tried simply building sybperl on this box?

Thing is - if -ldb is not version 1.xx of BerkeleyDB, then you *should*
be OK. Version 1.xx of libdb has dbopen(), but version 2.xx and later
use db_open()...

Michael
-- 
Michael Peppler / mpeppler@peppler.org / http://www.mbay.net/~mpeppler
mpeppler@zetatools.com / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!