View previous topic :: View next topic |
Author |
Message |
nickrout Apprentice
Joined: 06 Oct 2002 Posts: 208 Location: New Zealand
|
Posted: Sun Sep 28, 2003 11:46 am Post subject: mysqld won't start - looking for libwrap.so.0 |
|
|
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 |
|
|
TRauMa n00b
Joined: 26 Nov 2002 Posts: 43 Location: Germany
|
Posted: Sun Sep 28, 2003 3:20 pm Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Sep 28, 2003 4:43 pm Post subject: |
|
|
I wonder if this might be related and an easier option than reemerging msyql? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
TRauMa n00b
Joined: 26 Nov 2002 Posts: 43 Location: Germany
|
Posted: Sun Sep 28, 2003 5:38 pm Post subject: |
|
|
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 |
|
|
|