Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Cannot emerge php, mysql configure failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kaszynek
n00b
n00b


Joined: 22 Mar 2011
Posts: 44
Location: Warsaw, Poland

PostPosted: Sat Dec 22, 2012 10:29 pm    Post subject: [SOLVED] Cannot emerge php, mysql configure failed Reply with quote

Same problem as here (but solution not appropriate):
https://forums.gentoo.org/viewtopic-t-542931-start-0.html

I get this error when emerging php (with mysql 5.5.28) :
Code:
checking for mysql_close in -lmysqlclient_r... no
checking for mysql_error in -lmysqlclient_r... no
configure: error: mysql configure failed. Please check config.log for more information.


Here are my settings:
http://bpaste.net/show/66015/


Last edited by kaszynek on Sat Dec 29, 2012 5:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Sun Dec 23, 2012 11:22 am    Post subject: Reply with quote

At the end of the emerge output, there should be a list of a couple of log files. Could you please pastebin them, too?
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
Mike81
n00b
n00b


Joined: 05 Jan 2011
Posts: 39

PostPosted: Tue Dec 25, 2012 2:27 pm    Post subject: Reply with quote

See this bug report: https://bugs.gentoo.org/440918

If you need libmysql, apply the patch or create the symlink.

Better: Switch to mysqlnd
Back to top
View user's profile Send private message
kaszynek
n00b
n00b


Joined: 22 Mar 2011
Posts: 44
Location: Warsaw, Poland

PostPosted: Sat Dec 29, 2012 5:15 pm    Post subject: Reply with quote

Thanks. It really solves the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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