Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error: libmysqlclient is needed for MySQL support
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
buedi
n00b
n00b


Joined: 01 Jun 2004
Posts: 6

PostPosted: Thu Jan 20, 2005 3:31 pm    Post subject: Error: libmysqlclient is needed for MySQL support Reply with quote

Hi all,

I searched via Deja and in the Forum but couldn´t find a solution. The only solution I could find was that I should use a -mysql in the use Flags. But I need MySQL, so I won´t use it.

This Error is what I get when I do a emerge pure-ftpd. It says:
Quote:

[...]
checking for mysql_init in -lmysqlclient... no
configure: error: libmysqlclient is needed for MySQL support

!!! ERROR: net-ftp/pure-ftpd-1.0.18-r1 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed


I tried to do a revdep-rebuild -v to "repair" if something is broken but it then tries to emerge pure-ftpd, because the dependencies to libmysqlclient.so.12 are broken. I reemerged mysql, but it did not fix my problem. Then I added "/usr/lib/mysql/" to the ld.so.conf. But again... nothing.

I am sure it is very easy to solve my problem, but I am a noob :oops:
_________________
cu...

buedi ;-)
Back to top
View user's profile Send private message
jeremy whiting
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 159
Location: UT

PostPosted: Thu Jan 20, 2005 4:00 pm    Post subject: Reply with quote

join the club. seems the new mysql doesn't build or maybe install libmysqlclient.so.12 correctly, downgrade to mysql-4.0.22 (I think that's the last one)
Back to top
View user's profile Send private message
buzzin
Apprentice
Apprentice


Joined: 17 Oct 2003
Posts: 264
Location: St. Albans, UK.

PostPosted: Thu Jan 20, 2005 4:01 pm    Post subject: Reply with quote

This is all related to the problem posted on

http://forums.gentoo.org/viewtopic.php?p=1998302

That fixed it for me, hope it sorts you two out aswell.
Back to top
View user's profile Send private message
buedi
n00b
n00b


Joined: 01 Jun 2004
Posts: 6

PostPosted: Mon Jan 24, 2005 10:43 am    Post subject: Reply with quote

Thanks for your replys. Seems that the Problem is fixed with the latest mysql Version. I did a emerge sync and a revdep-rebuild again and it emerged a new MySQL Version. Then the other Packages emerged fine too.

Thx :D
_________________
cu...

buedi ;-)
Back to top
View user's profile Send private message
AlbertLash
n00b
n00b


Joined: 26 Aug 2004
Posts: 24

PostPosted: Fri Feb 18, 2005 12:48 am    Post subject: Not fixed as far as I can see Reply with quote

I did an emerge sync and this bug really bit me bad. I'm trying 4.0.22 instead of 4.0.22-r2 to see if the correct libs are found in /usr/lib. I'll report back.
Back to top
View user's profile Send private message
kfei
n00b
n00b


Joined: 28 Oct 2004
Posts: 2
Location: Taiwan

PostPosted: Sun Dec 04, 2005 3:29 pm    Post subject: Reply with quote

copy all files under your $PREFIX/lib/mysql to /usr/lib will solve this problem. :)
Back to top
View user's profile Send private message
v3trae
n00b
n00b


Joined: 14 Aug 2006
Posts: 58

PostPosted: Sat Sep 18, 2010 5:55 pm    Post subject: Reply with quote

Sorry to bump a very very old thread but i wanted to add that this problem still occurs. Re syncing portage and running revdep-rebuild fixed the problem for me. If you still run into this try this first =)
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