Apache doesn't start on today's install (SOLVED)

Apache doesn’t start with libedit.so.0.0.34 ( from libedit0-3.0.snap20090923-4.1.x86_64 ).

[Tue Dec 15 16:20:51 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
PHP Warning:  Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
/usr/sbin/httpd2-prefork: symbol lookup error: /usr/lib64/libedit.so.0: undefined symbol: tgetent

Solution: I copied /usr/lib64/libedit.so.0.0.27 from a previous install and symlinked /usr/lib64/libedit.so.0 to it.

Can you elaborate a little - was this on an out-of-the-box 11.2 64 bit install? And was this for a specific Web app? It appears that PHP was activated?

I first installed a basic Gnome Desktop from the DVD (64bit)
Then I installed a bunch of things from the repositories. I always add the Apache repositories (just in case) but I don’t enable them.

And was this for a specific Web app?

/etc/init.d/apache2 failed to start.

It appears that PHP was activated?

Yes. I don’t think the PHP warning is relevant. I have to use ‘register_long_arrays’ because of some old php code I haven’t still rewritten yet.

Same issue today on i386.
I found 2 solutions :

  • either disable readline in php
  • or replace libedit.so.0.0.34 with libedit.so.0.0.27

It’s bizarre, though. I have a plain vanilla 11.2 apache server and it doesn’t have any issues.

What package provides libedit v34?

I came across the same problem however I found you can fix it by just downgrading which fortunately doesn’t require anything else to downgrade or change.

Which component(s) did you downgrade specifically?