Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LAMP error after updating - solved
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
PCnity
n00b
n00b


Joined: 23 Dec 2005
Posts: 41

PostPosted: Mon Nov 06, 2006 8:35 pm    Post subject: LAMP error after updating - solved Reply with quote

Today I upgraded to mysql 5 (emerge --update --deep world) and after a reboot, apache 2 did not start. Because of:
Code:

master ~ # /etc/init.d/apache2 restart
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 5 of /etc/apache2/modules.d/70_mod_php5.conf:
Cannot load /usr/lib/apache2/modules/libphp5.so into server: libmysqlclient.so.14: cannot open shared object file: No such file or directory


I will try to reemerge dev-lang/php... I hope it solves the problem.


Last edited by PCnity on Mon Nov 06, 2006 9:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
PCnity
n00b
n00b


Joined: 23 Dec 2005
Posts: 41

PostPosted: Mon Nov 06, 2006 8:45 pm    Post subject: Waaaaaaaaaaaaaaaaaaaaaa Reply with quote

And this...
Code:

master ~ # postfix reload
postfix: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Mon Nov 06, 2006 8:47 pm    Post subject: Reply with quote

You need to recompile PHP and Postfix, they're still linked against the old version of MySQL. You might want to check if there's anything else left to rebuild - revdep-rebuild -av lets you do that.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
PCnity
n00b
n00b


Joined: 23 Dec 2005
Posts: 41

PostPosted: Mon Nov 06, 2006 8:51 pm    Post subject: Reply with quote

I run revdep-rebuid before a while and it seems to have much work :)
Back to top
View user's profile Send private message
PCnity
n00b
n00b


Joined: 23 Dec 2005
Posts: 41

PostPosted: Mon Nov 06, 2006 9:10 pm    Post subject: Reply with quote

Everything is OK after runing revdep-rebuild two times.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum