You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Steve <st...@sr30m.com> on 2004/01/13 20:26:14 UTC

error

Starting httpd2: Syntax error on line 3 of
/etc/httpd/conf.d/75_mod_perl.conf:
Cannot load /etc/httpd/2.0/extramodules/mod_perl.so
into server: libperl.so: cannot open shared object
file: No such file or director



Does this mean that libperl is not installed or something else



-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: error

Posted by Stas Bekman <st...@stason.org>.
Steve wrote:
> I installed apache2 from rpm do I have to reinstall it from source and
> add mod_perl etc....
> 
> Or can I just reinstall perl and mod_perl

I think all you need to install from scratch is mod_perl. Assuming that you 
have apache2 and perl installed (including all the apache2-devel and 
perl-devel packages if there are any)

__________________________________________________________________
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


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


RE: error

Posted by Steve <st...@sr30m.com>.
I installed apache2 from rpm do I have to reinstall it from source and
add mod_perl etc....

Or can I just reinstall perl and mod_perl



Again sorry for these low level questions am a beginner




-----Original Message-----
From: Stas Bekman [mailto:stas@stason.org] 
Sent: Tuesday, January 13, 2004 2:57 PM
Cc: Steve; modperl@perl.apache.org
Subject: Re: error


You must keep the followups on the list, Steve.

 > [root@server2 root]# ldd /etc/httpd/2.0/extramodules/mod_perl.so
 >         libperl.so => not found
 >         libnsl.so.1 => /lib/libnsl.so.1 (0x4003e000)
 >         libdl.so.2 => /lib/libdl.so.2 (0x40052000)
 >         libm.so.6 => /lib/i686/libm.so.6 (0x40056000)
 >         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40079000)
 >         libutil.so.1 => /lib/libutil.so.1 (0x400a6000)
 >         libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400a9000)
 >         libc.so.6 => /lib/i686/libc.so.6 (0x400f9000)
 >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

you must have moved your perl or rebuilt it without shared library after

building perl (or may be it's a prepackaged software, in which case you
don't 
have the prerequisite installed).

The simplest way is to build mod_perl by yourself. See:
http://perl.apache.org/docs/2.0/user/install/install.html

__________________________________________________________________
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




-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: error

Posted by Stas Bekman <st...@stason.org>.
You must keep the followups on the list, Steve.

 > [root@server2 root]# ldd /etc/httpd/2.0/extramodules/mod_perl.so
 >         libperl.so => not found
 >         libnsl.so.1 => /lib/libnsl.so.1 (0x4003e000)
 >         libdl.so.2 => /lib/libdl.so.2 (0x40052000)
 >         libm.so.6 => /lib/i686/libm.so.6 (0x40056000)
 >         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40079000)
 >         libutil.so.1 => /lib/libutil.so.1 (0x400a6000)
 >         libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400a9000)
 >         libc.so.6 => /lib/i686/libc.so.6 (0x400f9000)
 >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

you must have moved your perl or rebuilt it without shared library after 
building perl (or may be it's a prepackaged software, in which case you don't 
have the prerequisite installed).

The simplest way is to build mod_perl by yourself. See:
http://perl.apache.org/docs/2.0/user/install/install.html

__________________________________________________________________
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


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: error

Posted by Stas Bekman <st...@stason.org>.
Steve wrote:
> Starting httpd2: Syntax error on line 3 of
> /etc/httpd/conf.d/75_mod_perl.conf:
> Cannot load /etc/httpd/2.0/extramodules/mod_perl.so
> into server: libperl.so: cannot open shared object
> file: No such file or director

Please see: http://perl.apache.org/bugs/

> Does this mean that libperl is not installed or something else

It means it can't find the perl library, show us the output of:

   ldd /etc/httpd/2.0/extramodules/mod_perl.so

__________________________________________________________________
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


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html