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: Steven Cruz <steve at nextopia dot com>
Subject: Re: mod_perl problem
Date: Jun 4 1999 5:06PM

Michael Peppler wrote:
> 
> 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.

	I reinstalled mod_perl and it the same architecture. However it still
dose not work. :(

	It seems that Apache on this machine uses libperl.so. (It is redhat
linux.) I tired to comment that line out of the httpd.conf but it
complained. :( So right now I simply recompile perl to  build the
libperl.so, then move it to the correct spot.


	I will let you know. 

8-)	

> 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