LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-10-2010, 12:04 PM   #1
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Rep: Reputation: 30
mod_perl not finding lperl


I am trying to compile and install mod_perl with apache so I can use apache:asp.
I run Makefile.PL with this command.

Code:
perl Makefile.PL APACHE_SRC=../apache_2.2.9/src \
    DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
    APACI_ARGS='--prefix=/usr/local/httpd_perl'
then I run make.

I get this error.

[error]
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [mod_perl.so] Error 1
make[1]: Leaving directory `/usr/src/mod_perl/src/modules/perl'
make: *** [modperl_lib] Error 2
[/error]

It does not seem to be finding perl but I do nt know why or what to do about it?
could this be the problem? APACI_ARGS='--prefix=/usr/local/httpd_perl'
I do not have the slightest ideal what that means or if I need it.
 
Old 09-10-2010, 12:35 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"lperl" means libperl.so .

In Debian /usr/lib/libperl.so is provided by the package 'libperl-dev'

# 'apt-get install libperl-dev' will do.

..
 
Old 09-12-2010, 12:31 AM   #3
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Original Poster
Rep: Reputation: 30
thanks. you solved that problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_perl on lightttpd ?? shifter Programming 1 05-02-2010 08:08 AM
Apache mod_perl raypen Slackware 8 10-09-2006 10:03 AM
mod_perl contiguous Linux - Newbie 5 07-13-2006 12:48 PM
Apache and mod_perl TheCreator Linux - Software 0 12-21-2003 01:18 PM
mod_perl? ziggie216 Linux - Software 0 12-15-2003 06:17 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration