RE: DBD::Sybase

[prev] [thread] [next] [Date index for 2005/02/22]

From: Graham Vickrage
Subject: RE: DBD::Sybase
Date: 16:53 on 22 Feb 2005
The file is present and owned by root with read & execute permissions to
all.

I tried the system trace program but there was no entry in the output
for this file. The error occurs when I make a request from a browser not
when I start apache. Would this be why it doesn't appear in the trace?

Any more ideas as I'm stumped?

-----Original Message-----
From: Stas Bekman [mailto:stas@xxxxxx.xxx] 
Sent: 22 February 2005 13:26
To: Graham Vickrage
Cc: modperl@xxxx.xxxxxx.xxx
Subject: Re: DBD::Sybase


Graham Vickrage wrote:
> Hi All,
> 
> I'm having a problem getting DBD::Sybase to work with mod_perl.
> 
> I have the following setup
> 
> RH Fedora 3
> Perl 5.8.6
> mod_perl 2.0.0
> Freetds 0.62
> DBD::Sybase 1.05
> 
> All seems to install ok but when attempting to run I get the following
> error:
> 
> [error] install_driver(Sybase) failed: Can't load 
> '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Sybas
> e/Sybase.so'
> for module DBD::Sybase: libct.so.2: cannot open shared object
> 
> file: No such file or directory at

Graham, does that path exist? What the perms are? Notice that under
Apache 
you are most likely running under a different username so this can be a 
problem.

Another thing could be an open file handles limit:
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.htm
l#Can_t_locate_F_TestFilter_in_str_consume_pm__in_C__INC____
in any case run this under strace(1) and you will see what the real 
problem is (see the URL above)


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

DBD::Sybase
Graham Vickrage 13:20 on 22 Feb 2005

Re: DBD::Sybase
Stas Bekman 13:25 on 22 Feb 2005

RE: DBD::Sybase
Graham Vickrage 16:53 on 22 Feb 2005

Re: DBD::Sybase
Moon Lee 17:13 on 22 Feb 2005

Generated at 11:30 on 23 Feb 2005 by mariachi v0.52