View previous topic :: View next topic |
Author |
Message |
Da Penguin n00b
Joined: 26 Apr 2003 Posts: 23
|
Posted: Sun Jun 22, 2003 2:59 pm Post subject: mod_perl preventing apache from starting |
|
|
I have mod_perl emerged on mysystem, and when i change /etc/conf.d/apache to include perl (-D PERL), it will not start (works fine otherwise). Here is my error_log:
Code: |
Cannot load /etc/apache/extramodules/libperl.so into server: /etc/apache/extramodules/libperl.so: R_PPC_REL24 relocation at 0x0cbe99d0 for symbol `Connection_remote_addr' out of range
|
~The Penguin |
|
Back to top |
|
|
zendron Tux's lil' helper
Joined: 28 Jul 2002 Posts: 82
|
Posted: Sun Jun 22, 2003 3:30 pm Post subject: |
|
|
You are on ppc, right? Try to add -fPIC to your CFLAGS and recompile.
Otherwise file a bug report on bugs.gentoo.org, one more ppc relocation limit error.
zendron |
|
Back to top |
|
|
Da Penguin n00b
Joined: 26 Apr 2003 Posts: 23
|
Posted: Mon Jun 23, 2003 11:51 am Post subject: |
|
|
I tried that an no go. The funny part is, I had mod_perl running around a week ago with apache, but I did a complete http server overhaul, and it won't work now...
What does 'relocation' mean anyhue? (in this context atleast...)
~The Penguin |
|
Back to top |
|
|
zendron Tux's lil' helper
Joined: 28 Jul 2002 Posts: 82
|
Posted: Mon Jun 23, 2003 12:48 pm Post subject: |
|
|
Quote: | I tried that an no go. The funny part is, I had mod_perl running around a week ago with apache, but I did a complete http server overhaul, and it won't work now...
|
Did you ever try to build mod_php on ppc, _that_ is funny. You have to
play around with the USE flags, start apache, look in the error.log, ah
"relocation error", which lib could it be, next negative USE flag, build, start, verify.
Quote: | What does 'relocation' mean anyhue? (in this context atleast...) |
Don't know, linking issue or so. That with the -fPIC is from bugs.gentoo.org.
zendron |
|
Back to top |
|
|
Da Penguin n00b
Joined: 26 Apr 2003 Posts: 23
|
Posted: Mon Jun 23, 2003 11:49 pm Post subject: |
|
|
I got mod_php to work fine, albeit a month of fiddling .
I guess I will just fiddle some more and see where I get...
~The Penguin |
|
Back to top |
|
|
|