public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Fallible revdep-rebuild
@ 2013-08-20 15:10 Peter Humphrey
  2013-08-20 18:25 ` Mick
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Humphrey @ 2013-08-20 15:10 UTC (permalink / raw
  To: gentoo-user

Hi List,

The other day my LAN server had an upgrade to PHP, from 5.4.17 to 5.5. Next 
time apache restarted, it couldn't because it was looking for 
/usr/lib/apache2/modules/libphp.5.so. The library seemed to be in place, but 
in fact it was a broken symlink to /usr/lib/php5.4/apache2/libphp.5.so.

Running revdep-rebuild failed to find the problem (though it did find a problem 
with cairo, so I didn't mind the time spent). I had to remerge PHP myself to 
fix it.

Just a little cautionary tale.

-- 
Regards,
Peter

PS.	Apache reported the problem as a syntax error in its config files, but 
there was nothing wrong with the syntax - the problem was a missing file. Not 
expected behaviour.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Fallible revdep-rebuild
  2013-08-20 15:10 [gentoo-user] Fallible revdep-rebuild Peter Humphrey
@ 2013-08-20 18:25 ` Mick
  0 siblings, 0 replies; 2+ messages in thread
From: Mick @ 2013-08-20 18:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 894 bytes --]

On Tuesday 20 Aug 2013 16:10:59 Peter Humphrey wrote:
> Hi List,
> 
> The other day my LAN server had an upgrade to PHP, from 5.4.17 to 5.5. Next
> time apache restarted, it couldn't because it was looking for
> /usr/lib/apache2/modules/libphp.5.so. The library seemed to be in place,
> but in fact it was a broken symlink to
> /usr/lib/php5.4/apache2/libphp.5.so.
> 
> Running revdep-rebuild failed to find the problem (though it did find a
> problem with cairo, so I didn't mind the time spent). I had to remerge PHP
> myself to fix it.
> 
> Just a little cautionary tale.

I had the same symptom.  Just as I was about to manually remove the old and 
create my own new symlinks, I remembered that these days eselect looks after 
such things.  So I used eselect to declare php-cli, apache2 and some such 
links.  Restarted apache and all worked fine.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-20 18:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20 15:10 [gentoo-user] Fallible revdep-rebuild Peter Humphrey
2013-08-20 18:25 ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox