Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysqld won't start - looking for libwrap.so.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
nickrout
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 208
Location: New Zealand

PostPosted: Sun Sep 28, 2003 11:46 am    Post subject: mysqld won't start - looking for libwrap.so.0 Reply with quote

I haven't started mysqld for a while, I installed it for mythtv, had a play, then wanted to demo it tonight to a friend. Since it last worked I know there have been a number of updates in portage, although precisely what is not easy to say :-(

Anyway mysqld will not start. /var/log/mysql/mysqld.err tells me

Code:
030928 22:55:19  mysqld started
/usr/sbin/mysqld: error while loading shared libraries: libwrap.so.0: cannot open shared object file: No such file or directory
030928 22:55:19  mysqld ended


ldd /usr/sbin/mysqld confirms that mysqld is linked to libwrap.so.0 and that the lib cannot be found.

There is no file called libwrap.so.0 on my system. there is a libwrap.a but that doesn't seem to have anything to do with it. I naievely tried linking libwrap.a to libwrap.so.0 but that only gave a different error message

Code:
/usr/sbin/mysqld: error while loading shared libraries: /usr/lib/libwrap.so.0: invalid ELF header


any ideas what is going on?

thanks.
Back to top
View user's profile Send private message
TRauMa
n00b
n00b


Joined: 26 Nov 2002
Posts: 43
Location: Germany

PostPosted: Sun Sep 28, 2003 3:20 pm    Post subject: Reply with quote

This is a common problem.

In sys-apps/tcp-wrappers-7.6-r4, the .so file is missing. Either re-emerge mysql or emerge =sys-apps/tcp-wrappers-7.6-r3.

Better do the first.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Sep 28, 2003 4:43 pm    Post subject: Reply with quote

I wonder if this might be related and an easier option than reemerging msyql?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
TRauMa
n00b
n00b


Joined: 26 Nov 2002
Posts: 43
Location: Germany

PostPosted: Sun Sep 28, 2003 5:38 pm    Post subject: Reply with quote

Only if you have gnome, methinks? orbit and oaf just for silly libwrap.so? :?

nickrout: btw, if you dont use tcp-wrappers, just unset the tcpd-use-flag.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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