You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Robert Aspinall <Ro...@noaa.gov> on 2005/07/05 16:56:08 UTC

Problems with DBI & modperl on Irix 6.5

Hello,

I'm running modperl 1.29 on Apache 1.3.31 with Perl 5.8.2, running on 
Irix 6.5.25m.

When I try to use the Apache::DBI module, I get the following


Can't load 
'/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' for 
module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: Fatal 
Error: unresolvable symbol in 
/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so: 
PL_curstackinfo at /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm 
line 229.\n at /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/DBI.pm line 
252\nBEGIN failed--compilation aborted at 
/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/DBI.pm line 252.
Compilation failed in require at 
/opt/perl-5.8.2/lib/site_perl/5.8.2/Apache/DBI.pm line 7.
BEGIN failed--compilation aborted at 
/opt/perl-5.8.2/lib/site_perl/5.8.2/Apache/DBI.pm line 7.

Anyone have any ideas?  We'd love to get mod_perl running.

Thanks,

-- 
Robert Aspinall

NOAA's National Ocean Service
CO-OPS/Information Systems Division
1305 East-West Highway
Bldg. SSMC4, Station Id 6314
Silver Spring, MD 20910

Robert.Aspinall@noaa.gov


Re: Problems with DBI & modperl on Irix 6.5

Posted by Robert Aspinall <Ro...@noaa.gov>.
No, when I invoked CPAN I did it as /usr/local/bin/perl -MCPAN -e shell 
(the location of the perl 5.8 binary)

Robert Aspinall

NOAA's National Ocean Service
CO-OPS/Information Systems Division
1305 East-West Highway
Bldg. SSMC4, Station Id 6314
Silver Spring, MD 20910

Robert.Aspinall@noaa.gov



Philip M. Gollucci wrote:

> Robert Aspinall wrote:
>
>> There is more than one perl installed (an unfortunate side effect of 
>> IRIX).  Any idea how to get cpan to only build using 5.8?
>
>
> I think it might be as simple as:
>
> /full/path/to/perl -MCPAN -e shell
> cpan> install DBI
>
> rather then
>
> perl -MCPAN -e shell
> cpan> install DBI
>
> END ---------------------------------------------------------
>    What doesn't kill us can only make us stronger.
>               Nothing is impossible.
>                
> Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
> Consultant / http://p6m7g8.net/Resume/resume.shtml
> Senior Developer / Liquidity Services, Inc.
>     http://www.liquidityservicesinc.com
>        http://www.liquidation.com
>        http://www.uksurplus.com
>        http://www.govliquidation.com
>        http://www.gowholesale.com
>
>

Re: Problems with DBI & modperl on Irix 6.5

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Robert Aspinall wrote:

> There is more than one perl installed (an unfortunate side effect of 
> IRIX).  Any idea how to get cpan to only build using 5.8?

I think it might be as simple as:

/full/path/to/perl -MCPAN -e shell
cpan> install DBI

rather then

perl -MCPAN -e shell
cpan> install DBI

END 
---------------------------------------------------------
    What doesn't kill us can only make us stronger.
               Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
     http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com



Re: Problems with DBI & modperl on Irix 6.5

Posted by Robert Aspinall <Ro...@noaa.gov>.
There is more than one perl installed (an unfortunate side effect of 
IRIX).  Any idea how to get cpan to only build using 5.8?

Stas Bekman wrote:

>
> > Something I noticed when reinstalling DBI.. it's finding perl 5.008
> > somewhere on the system, despite invoking cpan with the 5.8 binary.  I
> > get this message:
> >
> > Creating DBI::PurePerl test variant: t/zvpp_60preparse.t
> > Creating DBI::PurePerl test variant: t/zvpp_80proxy.t
> > Checking if your kit is complete...
> > Looks good
> > I see you're using perl 5.008002 on IP27-irix, okay.
>
> That could be it. So take a look at the URL I've quoted in first place 
> again and see if you have more than one perl installed.
>

Re: Problems with DBI & modperl on Irix 6.5

Posted by Stas Bekman <st...@stason.org>.
[Robert, please quote only the relevant parts you reply to. The way you 
reply renders this thread very hard to read in the future. Thanks.

Robert Aspinall wrote:
> I'm not sure what output you're looking for, but if I run ldd on 
> /var/sgi_apache/httpd-outbox/libexec/libperl.so:
> 
> libm.so  =>      /usr/lib32/libm.so
> libc.so.1  =>    /usr/lib32/libc.so.1
> 
> Which file do you want me to ldd as far as the perl lib goes?

So it looks like a statically linked apache/mod_perl.  Was your DBI linked 
against a different perl? May be your system doesn't support shared 
libraries?

 > Something I noticed when reinstalling DBI.. it's finding perl 5.008
 > somewhere on the system, despite invoking cpan with the 5.8 binary.  I
 > get this message:
 >
 > Creating DBI::PurePerl test variant: t/zvpp_60preparse.t
 > Creating DBI::PurePerl test variant: t/zvpp_80proxy.t
 > Checking if your kit is complete...
 > Looks good
 > I see you're using perl 5.008002 on IP27-irix, okay.

That could be it. So take a look at the URL I've quoted in first place 
again and see if you have more than one perl installed.

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

Re: Problems with DBI & modperl on Irix 6.5

Posted by Robert Aspinall <Ro...@noaa.gov>.
I'm not sure what output you're looking for, but if I run ldd on 
/var/sgi_apache/httpd-outbox/libexec/libperl.so:

libm.so  =>      /usr/lib32/libm.so
libc.so.1  =>    /usr/lib32/libc.so.1

Which file do you want me to ldd as far as the perl lib goes?

Robert Aspinall

NOAA's National Ocean Service
CO-OPS/Information Systems Division
1305 East-West Highway
Bldg. SSMC4, Station Id 6314
Silver Spring, MD 20910

Robert.Aspinall@noaa.gov



Stas Bekman wrote:

> Robert Aspinall wrote:
>
>> ldd DBI.so just returns:
>>
>> libc.so.1  =>  /usr/lib32/libc.so.1
>
>
> Hmm, that's bizzare. Was DBI linked statically with perl or something 
> like that? I'm not familiar with Irix, so I'm just guessing. But in 
> this case there should be no DBI.so.
>
> How about nuking
> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so
> and DBI.pm, and installing it from scratch?
>
> Also please show us, the ldd output of the mod_perl and perl libs 
> (assuming that they are shared libs)
>
>>>>>>>>> Can't load
>>>>>>>>> '/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' 
>>>>>>>>> for
>>>>>>>>> module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: 
>>>>>>>>> Fatal
>>>>>>>>> Error: unresolvable symbol in
>>>>>>>>> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so:
>>>>>>>>> PL_curstackinfo at 
>>>>>>>>> /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm
>>>>>>>>
>
>
>

Re: Problems with DBI & modperl on Irix 6.5

Posted by Robert Aspinall <Ro...@noaa.gov>.
You're probably right, I hadn't noticed the signifigant digits were the 
same.  Thanks for the heads up.  Now if I could just figure out why 
modperl refuses to work with DBI..

Robert Aspinall

NOAA's National Ocean Service
CO-OPS/Information Systems Division
1305 East-West Highway
Bldg. SSMC4, Station Id 6314
Silver Spring, MD 20910

Robert.Aspinall@noaa.gov



Perrin Harkins wrote:

>On Wed, 2005-07-06 at 14:40 -0400, Robert Aspinall wrote:
>  
>
>>Something I noticed when reinstalling DBI.. it's finding perl 5.008
>>somewhere on the system, despite invoking cpan with the 5.8 binary.
>>    
>>
>
>Isn't that just how perl version numbers work?  I thought 5.8 and 5.008
>actually meant the same thing.  The next release after 5.005 was 5.6,
>bumping the significant digit up a couple of decimal places.
>
>- Perrin
>
>  
>

Re: Problems with DBI & modperl on Irix 6.5

Posted by Perrin Harkins <pe...@elem.com>.
On Wed, 2005-07-06 at 14:40 -0400, Robert Aspinall wrote:
> Something I noticed when reinstalling DBI.. it's finding perl 5.008
> somewhere on the system, despite invoking cpan with the 5.8 binary.

Isn't that just how perl version numbers work?  I thought 5.8 and 5.008
actually meant the same thing.  The next release after 5.005 was 5.6,
bumping the significant digit up a couple of decimal places.

- Perrin


Re: Problems with DBI & modperl on Irix 6.5

Posted by Robert Aspinall <Ro...@noaa.gov>.
Something I noticed when reinstalling DBI.. it's finding perl 5.008 
somewhere on the system, despite invoking cpan with the 5.8 binary.  I 
get this message:

Creating DBI::PurePerl test variant: t/zvpp_60preparse.t
Creating DBI::PurePerl test variant: t/zvpp_80proxy.t
Checking if your kit is complete...
Looks good
I see you're using perl 5.008002 on IP27-irix, okay.

Robert Aspinall

NOAA's National Ocean Service
CO-OPS/Information Systems Division
1305 East-West Highway
Bldg. SSMC4, Station Id 6314
Silver Spring, MD 20910

Robert.Aspinall@noaa.gov



Stas Bekman wrote:

> Robert Aspinall wrote:
>
>> ldd DBI.so just returns:
>>
>> libc.so.1  =>  /usr/lib32/libc.so.1
>
>
> Hmm, that's bizzare. Was DBI linked statically with perl or something 
> like that? I'm not familiar with Irix, so I'm just guessing. But in 
> this case there should be no DBI.so.
>
> How about nuking
> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so
> and DBI.pm, and installing it from scratch?
>
> Also please show us, the ldd output of the mod_perl and perl libs 
> (assuming that they are shared libs)
>
>>>>>>>>> Can't load
>>>>>>>>> '/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' 
>>>>>>>>> for
>>>>>>>>> module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: 
>>>>>>>>> Fatal
>>>>>>>>> Error: unresolvable symbol in
>>>>>>>>> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so:
>>>>>>>>> PL_curstackinfo at 
>>>>>>>>> /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm
>>>>>>>>
>
>
>

Re: Problems with DBI & modperl on Irix 6.5

Posted by Stas Bekman <st...@stason.org>.
Robert Aspinall wrote:
> ldd DBI.so just returns:
> 
> libc.so.1  =>  /usr/lib32/libc.so.1

Hmm, that's bizzare. Was DBI linked statically with perl or something like 
that? I'm not familiar with Irix, so I'm just guessing. But in this case 
there should be no DBI.so.

How about nuking
/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so
and DBI.pm, and installing it from scratch?

Also please show us, the ldd output of the mod_perl and perl libs 
(assuming that they are shared libs)

>>>>>>>> Can't load
>>>>>>>> '/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' for
>>>>>>>> module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: Fatal
>>>>>>>> Error: unresolvable symbol in
>>>>>>>> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so:
>>>>>>>> PL_curstackinfo at 
>>>>>>>> /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm



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

Re: Problems with DBI & modperl on Irix 6.5

Posted by Robert Aspinall <Ro...@noaa.gov>.
ldd DBI.so just returns:

libc.so.1  =>  /usr/lib32/libc.so.1

Robert Aspinall

NOAA's National Ocean Service
CO-OPS/Information Systems Division
1305 East-West Highway
Bldg. SSMC4, Station Id 6314
Silver Spring, MD 20910

Robert.Aspinall@noaa.gov



Stas Bekman wrote:

> [Robert, please don't forget to Reply-All]
>
> Robert Aspinall wrote:
>
>> I saw that article, however, as far as I can tell I'm using the same 
>> perl libraries that I compiled modperl with.
>
>
> Right, what about DBI.so, that's the only that fails.
>
>> Stas Bekman wrote:
>>
>>> Robert Aspinall wrote:
>>>
>>>>>>> I'm running modperl 1.29 on Apache 1.3.31 with Perl 5.8.2, 
>>>>>>> running on
>>>>>>> Irix 6.5.25m.
>>>>>>>
>>>>>>> When I try to use the Apache::DBI module, I get the following
>>>>>>>
>>>>>>>
>>>>>>> Can't load
>>>>>>> '/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' for
>>>>>>> module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: Fatal
>>>>>>> Error: unresolvable symbol in
>>>>>>> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so:
>>>>>>> PL_curstackinfo at 
>>>>>>> /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm
>>>>>>
>>>>>>
>>>>>>
>>>
>>> Usually that's the case when you get a wrong perl library loaded. 
>>> (not the one mod_perl was compiled with). Please take a look at:
>>> http://perl.apache.org/docs/1.0/guide/troubleshooting.html#_relocation_errors__or__undefined_symbol_ 
>>>
>>>
>
>

Re: Problems with DBI & modperl on Irix 6.5

Posted by Stas Bekman <st...@stason.org>.
[Robert, please don't forget to Reply-All]

Robert Aspinall wrote:
> I saw that article, however, as far as I can tell I'm using the same 
> perl libraries that I compiled modperl with.

Right, what about DBI.so, that's the only that fails.

> Stas Bekman wrote:
> 
>> Robert Aspinall wrote:
>>
>>>>>> I'm running modperl 1.29 on Apache 1.3.31 with Perl 5.8.2, running on
>>>>>> Irix 6.5.25m.
>>>>>>
>>>>>> When I try to use the Apache::DBI module, I get the following
>>>>>>
>>>>>>
>>>>>> Can't load
>>>>>> '/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' for
>>>>>> module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: Fatal
>>>>>> Error: unresolvable symbol in
>>>>>> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so:
>>>>>> PL_curstackinfo at /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm
>>>>>
>>>>>
>>
>> Usually that's the case when you get a wrong perl library loaded. (not 
>> the one mod_perl was compiled with). Please take a look at:
>> http://perl.apache.org/docs/1.0/guide/troubleshooting.html#_relocation_errors__or__undefined_symbol_ 
>>
>>


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

Re: Problems with DBI & modperl on Irix 6.5

Posted by Stas Bekman <st...@stason.org>.
Robert Aspinall wrote:

>>>> I'm running modperl 1.29 on Apache 1.3.31 with Perl 5.8.2, running on
>>>> Irix 6.5.25m.
>>>>
>>>> When I try to use the Apache::DBI module, I get the following
>>>>
>>>>
>>>> Can't load
>>>> '/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' for
>>>> module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: Fatal
>>>> Error: unresolvable symbol in
>>>> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so:
>>>> PL_curstackinfo at /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm

Usually that's the case when you get a wrong perl library loaded. (not the 
one mod_perl was compiled with). Please take a look at:
http://perl.apache.org/docs/1.0/guide/troubleshooting.html#_relocation_errors__or__undefined_symbol_

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

Re: Problems with DBI & modperl on Irix 6.5

Posted by Robert Aspinall <Ro...@noaa.gov>.
A little update:  I see these errors when compiling with 'make':

 cc -n32  -O3 -OPT:Olimit=0:space=ON 
-I/opt/perl-5.8.2/lib/5.8.2/IP27-irix/CORE -D_BSD_TYPES -D_BSD_TIME 
-woff 1184,1552 -DLANGUAGE_C  -DMOD_PERL_VERSION=\"1.29\" 
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.29\" 
-I/var/sgi_apache/server/include -DMOD_PERL -O 
-DAP_ENABLE_EXCEPTION_HOOK -DIRIX -n32 -DMOD_SSL=208117 -DUSE_HSREGEX 
-DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -n32 -mips3 -O -c 
mod_perl.c && mv mod_perl.o mod_perl.lo
cc WARNING:  -O conflicts with -O3; using latter value (-O)
cc-1185 cc: WARNING File = mod_perl.c, Line = 988
  An enumerated type is mixed with another type.

      r->proxyreq = 1;
                  ^
Specifically the "warning: -O conflicts with -O3; using latter value (-O)

That happens after every cc command.  I'd love to try compiling modperl 
with gcc, but even when I softlink cc to gcc, it still insists on using 
the -n32 flag, which is invalid with gcc.  Any ideas, anyone?

>>Robert Aspinall wrote:
>>  
>>
>>>Hello,
>>>
>>>I'm running modperl 1.29 on Apache 1.3.31 with Perl 5.8.2, running on
>>>Irix 6.5.25m.
>>>
>>>When I try to use the Apache::DBI module, I get the following
>>>
>>>
>>>Can't load
>>>'/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' for
>>>module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: Fatal
>>>Error: unresolvable symbol in
>>>/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so:
>>>PL_curstackinfo at /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm
>>>line 229.\n at /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/DBI.pm line
>>>252\nBEGIN failed--compilation aborted at
>>>/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/DBI.pm line 252.
>>>Compilation failed in require at
>>>/opt/perl-5.8.2/lib/site_perl/5.8.2/Apache/DBI.pm line 7.
>>>BEGIN failed--compilation aborted at
>>>/opt/perl-5.8.2/lib/site_perl/5.8.2/Apache/DBI.pm line 7.
>>>    
>>>
>>
>>    
>>

Re: Problems with DBI & modperl on Irix 6.5

Posted by Perrin Harkins <pe...@elem.com>.
On Tue, 2005-07-05 at 11:05 -0400, Robert Aspinall wrote:
> Yes, DBI is installed and up to date, as is Apache::DBI.

Usually when it works from command-line and not from mod_perl, it means
one of these:

- mod_perl and DBI were not compiled with the same C compiler.

- There is a permissions problem that prevents the user your apache
server runs as from seeing that .so.

- There is a problem with the library path for your apache user.

Take a look at those and see if any of them look likely.

- Perrin


Re: Problems with DBI & modperl on Irix 6.5

Posted by Robert Aspinall <Ro...@noaa.gov>.
Yes, DBI is installed and up to date, as is Apache::DBI.

Robert Aspinall

NOAA's National Ocean Service
CO-OPS/Information Systems Division
1305 East-West Highway
Bldg. SSMC4, Station Id 6314
Silver Spring, MD 20910

Robert.Aspinall@noaa.gov



Michael Peters wrote:

>Robert Aspinall wrote:
>  
>
>>Hello,
>>
>>I'm running modperl 1.29 on Apache 1.3.31 with Perl 5.8.2, running on
>>Irix 6.5.25m.
>>
>>When I try to use the Apache::DBI module, I get the following
>>
>>
>>Can't load
>>'/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' for
>>module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: Fatal
>>Error: unresolvable symbol in
>>/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so:
>>PL_curstackinfo at /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm
>>line 229.\n at /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/DBI.pm line
>>252\nBEGIN failed--compilation aborted at
>>/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/DBI.pm line 252.
>>Compilation failed in require at
>>/opt/perl-5.8.2/lib/site_perl/5.8.2/Apache/DBI.pm line 7.
>>BEGIN failed--compilation aborted at
>>/opt/perl-5.8.2/lib/site_perl/5.8.2/Apache/DBI.pm line 7.
>>    
>>
>
>Do you have DBI successfully installed? Are you using the latest version
>of Apache::DBI (0.94)? I know that they are currently working on the
>next release, but I think all of the issues in that case are with
>mod_perl2 so they shouldn't affect what you're trying to do.
>
>
>  
>

Re: Problems with DBI & modperl on Irix 6.5

Posted by Michael Peters <mp...@plusthree.com>.
Robert Aspinall wrote:
> Hello,
> 
> I'm running modperl 1.29 on Apache 1.3.31 with Perl 5.8.2, running on
> Irix 6.5.25m.
> 
> When I try to use the Apache::DBI module, I get the following
> 
> 
> Can't load
> '/opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so' for
> module DBI: 71121247:/var/sgi_apache/server/sbin/httpd: rld: Fatal
> Error: unresolvable symbol in
> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/auto/DBI/DBI.so:
> PL_curstackinfo at /opt/perl-5.8.2/lib/5.8.2/IP27-irix/DynaLoader.pm
> line 229.\n at /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/DBI.pm line
> 252\nBEGIN failed--compilation aborted at
> /opt/perl-5.8.2/lib/site_perl/5.8.2/IP27-irix/DBI.pm line 252.
> Compilation failed in require at
> /opt/perl-5.8.2/lib/site_perl/5.8.2/Apache/DBI.pm line 7.
> BEGIN failed--compilation aborted at
> /opt/perl-5.8.2/lib/site_perl/5.8.2/Apache/DBI.pm line 7.

Do you have DBI successfully installed? Are you using the latest version
of Apache::DBI (0.94)? I know that they are currently working on the
next release, but I think all of the issues in that case are with
mod_perl2 so they shouldn't affect what you're trying to do.


-- 
Michael Peters
Developer
Plus Three, LP