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: PHP is breaking Sybase::DBlib
Date: Apr 14 2000 2:15PM

David Hojo Hajoglou writes:
 > So, I was having a hell of a time to get DBlib to work in a module.  The
 > code worked fine as a script, but the database handle was not created
 > properly when with a module.  As I prepared for Harikari, I looked at the
 > loggs and php glared back at me.
 > 
 > My compile was:
 > Apache/1.3.12 (Unix) mod_perl/1.22 PHP/3.0.15
 > 
 > Change to 
 > Apache/1.3.12 (Unix) mod_perl/1.2
 > 
 > And the code worked. So, I have discovered an incompatibility of sorts and
 > guess what?  I have no idea how to fix it only that I need to have php and
 > mod_perl together.  Why me????  AAAGH.

Do you happen to have libdb (berkeley DB) linked in to the first
mod_perl binary? libdb.a and SYbase DBlib both have a dbopen()
function, and that causes some (obvious) problems.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com