mod_perl not loading into apache error.
Hi all, I am on a fresh install of Ubuntu 7.04 with Apache 2.2.4 compiled from source. Perl v5.8.8 built for i486-linux-gnu-thread-multi (came with Ubuntu as a package I assume) and I am getting this error when I try to start Apache. httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_perl.so into server: /usr/local/apache/modules/mod_perl.so: undefined symbol: PL_vtbl_env Configure, Make and Make Test all worked fine. I have no idea why this is happening, I tried recompiling Apache, and mod_perl several times, even tried re downloading sources and I still get the same error. Can anyone please help me figure out why this is not working? I am using the current version of mod_perl (May22-07 is when I downloaded it). Thanks Nick.
Re: mod_perl not loading into apache error.
Nick Pron wrote: Hi all, I am on a fresh install of Ubuntu 7.04 with Apache 2.2.4 compiled from source. Perl v5.8.8 built for i486-linux-gnu-thread-multi (came with Ubuntu as a package I assume) and I am getting this error when I try to start Apache. httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_perl.so into server: /usr/local/apache/modules/mod_perl.so: undefined symbol: PL_vtbl_env Are you sure that mod_perl isn't already installed with Ubuntu's package manager? If so then remove it, and re-install mod_perl from source. That's usually the source of unresolved symbol bugs like this. See this link for a really interesting one: http://www.gossamer-threads.com/lists/modperl/modperl/73816
Re: mod_perl not loading into apache error.
Yes I'm positive. I didn't install Apache or mod_perl with the package manager, the only thing that came packaged installed was Perl. I just tried installing mod_perl with the package mananger anyway, it didn't find anything to upgrade (it wanted a fresh install of it) so that's how I know it's not already there. Fred Moyer wrote: > > Nick Pron wrote: >> Hi all, >> >> I am on a fresh install of Ubuntu 7.04 with Apache 2.2.4 compiled from >> source. Perl v5.8.8 built for i486-linux-gnu-thread-multi (came with >> Ubuntu >> as a package I assume) and I am getting this error when I try to start >> Apache. >> >> httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: >> Cannot >> load /usr/local/apache/modules/mod_perl.so into server: >> /usr/local/apache/modules/mod_perl.so: undefined symbol: PL_vtbl_env > > Are you sure that mod_perl isn't already installed with Ubuntu's package > manager? If so then remove it, and re-install mod_perl from source. > That's usually the source of unresolved symbol bugs like this. > > See this link for a really interesting one: > > http://www.gossamer-threads.com/lists/modperl/modperl/73816 > > -- View this message in context: http://www.nabble.com/mod_perl-not-loading-into-apache-error.-tf3794200.html#a10731723 Sent from the mod_perl - General mailing list archive at Nabble.com.
Re: mod_perl not loading into apache error.
Nick Pron wrote: Fred Moyer wrote: Nick Pron wrote: Hi all, I am on a fresh install of Ubuntu 7.04 with Apache 2.2.4 compiled from source. Perl v5.8.8 built for i486-linux-gnu-thread-multi (came with Ubuntu as a package I assume) and I am getting this error when I try to start Apache. httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_perl.so into server: /usr/local/apache/modules/mod_perl.so: undefined symbol: PL_vtbl_env >> Are you sure that mod_perl isn't already installed with Ubuntu's package manager? If so then remove it, and re-install mod_perl from source. That's usually the source of unresolved symbol bugs like this. > Yes I'm positive. I didn't install Apache or mod_perl with the package > manager, the only thing that came packaged installed was Perl. > I just tried installing mod_perl with the package mananger anyway, it > didn't > find anything to upgrade (it wanted a fresh install of it) so that's > how I > know it's not already there. Ok can you post the following (I should have asked for this first on the first email, sorry list): 1) output of mp2bug 2) output of perl -V 3) output of 'make test'
Re: mod_perl not loading into apache error.
On May 22, 2007, at 12:32 AM, Nick Pron wrote: Hi all, I am on a fresh install of Ubuntu 7.04 with Apache 2.2.4 compiled from source. Perl v5.8.8 built for i486-linux-gnu-thread-multi (came with Ubuntu as a package I assume) and I am getting this error when I try to start Apache. httpd: Syntax error on line 54 of /usr/local/apache/conf/ httpd.conf: Cannot load /usr/local/apache/modules/mod_perl.so into server: /usr/local/apache/modules/mod_perl.so: undefined symbol: PL_vtbl_env Configure, Make and Make Test all worked fine. I have no idea why this is happening, I tried recompiling Apache, and mod_perl several times, even tried re downloading sources and I still get the same error. Can anyone please help me figure out why this is not working? I am using the current version of mod_perl (May22-07 is when I downloaded it). I can't tell you anything about compiling from source, but I can tell you that there is a package in Ubuntu Universal that compiles fine. I would suggest using that until you have some spare time to try and track down the problem with your source compile // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | SyndiClick.com | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RE: mod_perl not loading into apache error.
Hi Friends, I am unable to install mod_perl-2.0.3 in my system(Windows). I am using apache version 2 Perl version 5.6.1. I have given from DOS command prompt. I put mod_perl-2.03 directory and its file in C:\Perl C:\Perl\mod_per-2.0.3> Perl makefile.pl APACHE_SRC=C:\Program Files\Apache Group\Apache2 When I run this its giving error. It require high version of perl >= 5.8 Thanks Sravan -Original Message- From: Nick Pron [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 10:54 AM To: modperl@perl.apache.org Subject: Re: mod_perl not loading into apache error. Yes I'm positive. I didn't install Apache or mod_perl with the package manager, the only thing that came packaged installed was Perl. I just tried installing mod_perl with the package mananger anyway, it didn't find anything to upgrade (it wanted a fresh install of it) so that's how I know it's not already there. Fred Moyer wrote: > > Nick Pron wrote: >> Hi all, >> >> I am on a fresh install of Ubuntu 7.04 with Apache 2.2.4 compiled >> from source. Perl v5.8.8 built for i486-linux-gnu-thread-multi (came >> with Ubuntu as a package I assume) and I am getting this error when I >> try to start Apache. >> >> httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: >> Cannot >> load /usr/local/apache/modules/mod_perl.so into server: >> /usr/local/apache/modules/mod_perl.so: undefined symbol: PL_vtbl_env > > Are you sure that mod_perl isn't already installed with Ubuntu's > package manager? If so then remove it, and re-install mod_perl from source. > That's usually the source of unresolved symbol bugs like this. > > See this link for a really interesting one: > > http://www.gossamer-threads.com/lists/modperl/modperl/73816 > > -- View this message in context: http://www.nabble.com/mod_perl-not-loading-into-apache-error.-tf3794200.html #a10731723 Sent from the mod_perl - General mailing list archive at Nabble.com.
Re: mod_perl not loading into apache error.
Hi Fred, Thanks for the reply. This was solved by installing libperl5.8 and libperl5.8-dev. Make test failed with only 2 problems but it installed fine and it seems to be running (do a server check on r5a.org) John, Thanks for the reply but using packages is not an option. Sravan, You need to upgrade your Perl version, re download the latest Perl. Fred Moyer wrote: > > Nick Pron wrote: >> Fred Moyer wrote: >>> Nick Pron wrote: >>>> Hi all, >>>> >>>> I am on a fresh install of Ubuntu 7.04 with Apache 2.2.4 compiled from >>>> source. Perl v5.8.8 built for i486-linux-gnu-thread-multi (came with >>>> Ubuntu >>>> as a package I assume) and I am getting this error when I try to start >>>> Apache. >>>> >>>> httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: >>>> Cannot >>>> load /usr/local/apache/modules/mod_perl.so into server: >>>> /usr/local/apache/modules/mod_perl.so: undefined symbol: PL_vtbl_env > >> >>> Are you sure that mod_perl isn't already installed with Ubuntu's package >>> manager? If so then remove it, and re-install mod_perl from source. >>> That's usually the source of unresolved symbol bugs like this. >>> > > Yes I'm positive. I didn't install Apache or mod_perl with the package > > manager, the only thing that came packaged installed was Perl. > > I just tried installing mod_perl with the package mananger anyway, it > > didn't > > find anything to upgrade (it wanted a fresh install of it) so that's > > how I > > know it's not already there. > > Ok can you post the following (I should have asked for this first on the > first email, sorry list): > 1) output of mp2bug > 2) output of perl -V > 3) output of 'make test' > > -- View this message in context: http://www.nabble.com/mod_perl-not-loading-into-apache-error.-tf3794200.html#a10732355 Sent from the mod_perl - General mailing list archive at Nabble.com.
RE: mod_perl not loading into apache error.
Hi, I have downloaded perl 5.8.8 source code from CPAN site stable.tar.gz. When I downloaded this from CPAN . I got complete source code which contain some c files and .pl files. Pleas let me know how should I install that source code in my windows OS. I have not access for activestate.com in my system.I want install without help of activestate.com Thanks Sravan -Original Message- From: Nick Pron [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 12:19 PM To: modperl@perl.apache.org Subject: Re: mod_perl not loading into apache error. Hi Fred, Thanks for the reply. This was solved by installing libperl5.8 and libperl5.8-dev. Make test failed with only 2 problems but it installed fine and it seems to be running (do a server check on r5a.org) John, Thanks for the reply but using packages is not an option. Sravan, You need to upgrade your Perl version, re download the latest Perl. Fred Moyer wrote: > > Nick Pron wrote: >> Fred Moyer wrote: >>> Nick Pron wrote: >>>> Hi all, >>>> >>>> I am on a fresh install of Ubuntu 7.04 with Apache 2.2.4 compiled >>>> from source. Perl v5.8.8 built for i486-linux-gnu-thread-multi >>>> (came with Ubuntu as a package I assume) and I am getting this >>>> error when I try to start Apache. >>>> >>>> httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: >>>> Cannot >>>> load /usr/local/apache/modules/mod_perl.so into server: >>>> /usr/local/apache/modules/mod_perl.so: undefined symbol: >>>> PL_vtbl_env > >> >>> Are you sure that mod_perl isn't already installed with Ubuntu's >>> package manager? If so then remove it, and re-install mod_perl from source. >>> That's usually the source of unresolved symbol bugs like this. >>> > > Yes I'm positive. I didn't install Apache or mod_perl with the > package > manager, the only thing that came packaged installed was Perl. > > I just tried installing mod_perl with the package mananger anyway, > it > didn't > find anything to upgrade (it wanted a fresh install of > it) so that's > how I > know it's not already there. > > Ok can you post the following (I should have asked for this first on > the first email, sorry list): > 1) output of mp2bug > 2) output of perl -V > 3) output of 'make test' > > -- View this message in context: http://www.nabble.com/mod_perl-not-loading-into-apache-error.-tf3794200.html #a10732355 Sent from the mod_perl - General mailing list archive at Nabble.com.
Re: mod_perl not loading into apache error.
On 5/22/07, Sravan Garlapati <[EMAIL PROTECTED]> wrote: I have downloaded perl 5.8.8 source code from CPAN site stable.tar.gz. When I downloaded this from CPAN . I got complete source code which contain some c files and .pl files. Pleas let me know how should I install that source code in my windows OS. I have not access for activestate.com in my system.I want install without help of activestate.com There are complete install instructions for Win32 here: http://perl.apache.org/docs/2.0/os/win32/install.html If you are not familiar with compiling software on Windows, I suggest you use one of the binary distributions on that page. - Perrin
Re: mod_perl not loading into apache error.
On May 22, 2007, at 2:49 AM, Nick Pron wrote: John, Thanks for the reply but using packages is not an option. I always compile from source myself, but I often find it helpful to install a package first. it sounds counter intuitive... but on a lot of the minimal installs for debian/ubuntu/freebsd , you won't have the right libraries or whatever installed. by installing the package, then uninstalling it, you can quickly install all the misc requisites its definitely a lazy sysadmin approach, but it works :)
RE: mod_perl not loading into apache error.
On Tue, 22 May 2007, Sravan Garlapati wrote: Hi Friends, I am unable to install mod_perl-2.0.3 in my system(Windows). I am using apache version 2 Perl version 5.6.1. I have given from DOS command prompt. I put mod_perl-2.03 directory and its file in C:\Perl C:\Perl\mod_per-2.0.3> Perl makefile.pl APACHE_SRC=C:\Program Files\Apache Group\Apache2 When I run this its giving error. It require high version of perl >= 5.8 This means that you must have a perl version greater than or equal to 5.8 to build mod_perl. If you're starting from scratch, it'd be a good idea to use the latest perl. Also, as Perrin noted in another reply, unless you're familiar with compiling things on Windows, it's a lot easier to use binary versions of Perl: http://www.activestate.com/Products/ActivePerl/ Apache: http://httpd.apache.org/ and mod_perl: http://perl.apache.org/docs/2.0/os/win32/install.html -- best regards, Randy Kobes