Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-25-2004, 07:34 AM   #1
Registered: Aug 2004
Posts: 47

Rep: Reputation: 15
Need help compiling mod perl with apache2

Hi, I have apache2 php5 and mysql all working, however I then want to have mod_perl compiled and installed with apache so i did perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs MP_APR_CONFIG=/usr/local/apache/bin/apr-config

after doing make it errors near the end with
/usr/bin/ld: /usr/local/apache/lib/libapr-0.a(apr_snprintf.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/usr/local/apache/lib/libapr-0.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

How would I go about fixing this?

Also I compiled apache2 with

SSL_BASE=../openssl-0.9.7d \
./configure \
--with-mpm=worker \
--prefix=/usr/local/apache \
--enable-module=ssl \
--enable-shared=ssl \
--enable-module=rewrite \
--enable-shared=max \

here are the versions I used


Im am new and have limited understanding of this but I have followed the docs to the best of my ability and still keep getting this problem any help would be greatly appreciated



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apache2 + mod-ssl keeps loading the default localhost.xxxxxx cert STEBEL Linux - Newbie 3 11-26-2005 08:49 AM
whereis apache2-mod-php barrythai SUSE / openSUSE 0 08-30-2005 02:59 PM
apr-mod apache2 Skaan Debian 2 05-27-2005 05:29 AM
how do i install mod perl with apache2 unixmad Linux - Newbie 2 08-22-2004 01:00 PM
ASP mod perl.... Marble Programming 0 06-19-2003 02:45 AM

All times are GMT -5. The time now is 05:06 PM.

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