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: mod_perl problem
Date: Jun 4 1999 3:59PM

Steven Cruz writes:
 > 
 > 
 > 	Hello;
 > 
 > 	I restart from the beginning. Installed perl 5.00503, and install
 > syberperl. From the command line it all works fine. :) How ever with
 > mod_perl it fails. :(
 > 
 > This is what I see in Apache error log.
 > [Fri Jun  4 09:54:46 1999] [notice] Apache/1.3.6 (Unix)  (Red Hat/Linux)
 > mod_perl/1.19 configured -- resuming normal operations
 > [Fri Jun  4 09:55:57 1999] [error] Can't locate Sybase/CTlib.pm in @INC
 > (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
 > /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005


 > 
 > (This is form the command line Perl -V)
 > Oddly enough 
 > 
 > Characteristics of this binary (from libperl): 
 >   Built under linux
 >   Compiled at Jun  3 1999 16:59:50
 >   @INC:
 >     /usr/lib/perl5/5.00503/i686-linux
 >     /usr/lib/perl5/5.00503
 >     /usr/lib/perl5/site_perl/5.005/i686-linux
                                ^^^^^^^^^^^^^^^^^


The perl5.005_03 that you installed has i686-linux as the architecture 
dependent directories. mod_perl points to i386-linux.

Rebuild mod_perl with the new version of perl and you should be fine.

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