Re: Mysql and slack9.0

From: Robert Grizzard (grizzarv_at_mindspring.com.invalid)
Date: 11/16/03


Date: Sun, 16 Nov 2003 21:41:28 GMT

blizeach <blizeach@slacker.blizeach.org> wrote:

> My problem is that when I installed Slackware I told it to install
> MySQL. I thought it did so. I looked around and found in the
> directory /etc/rc.d/ a file called rc.mysqld.new wich I read.
> It said to make this file executable so that it would start the
> daemon at system boot. I made it executable. Needless to say it didn't
> work.

Does /etc/rc.d/rc.mysqld exist? If it does try renaming it to *.old
then setting a symbolic link from rc.mysqld to rc.mysqld.new.

> So I read a little further. The same files says
> to build the grant tables by switching to the mysql
> user with the su command and running
> mysql_install_db.

> This gives me this error:
> /usr/libexec/mysqld: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by /usr/libexec/mysqld)
> Installation of grant tables failed!

This is odd.

Run "/lib/libc.so.6" and see what version it reports. In my mirror it's
going to be 2.3.1, which makes me wonder why your mysqld wants symbols
from 2.3.2. Where did you get your slackware/ap/mysql-*.tgz from?

> That is when I figured I'd just try to reinstall for the heck of
> it and of course now using the rpm --install command with the
> MySQL rpm I'm getting the same problem Mr. Thorne is getting.

> bash-2.05b# rpm --install MySQL-server-4.0.16-0.i386.rpm
> error: failed dependencies:
> fileutils is needed by MySQL-server-4.0.16-0
> sh-utils is needed by MySQL-server-4.0.16-0
> /bin/sh is needed by MySQL-server-4.0.16-0
> /usr/bin/perl is needed by MySQL-server-4.0.16-0

The "problem" is Slack isn't a RPM-based distro so it lacks the RPM
database. If "ls" works on your box then the fileutils package is
installed. If "who" works then sh-utils is installed. /bin/sh should
be a symbolic link to /bin/bash. If the command "which perl" returns a
specific location (as opposed to "which: no perl in (<lotsa'
different directories>)", the package is installed. If all these are
true then -- and *only* then -- can you force RPM to install the package
with the appropriate command line argument.

If I were in your shoes I think I would try working within the Slackware
package tools before I went to a RPM, though.

> I have posted to multiple news groups and forums. Will someone please
> help out the Noobs?

HTH



Relevant Pages

  • Re: Modem configuration:
    ... Rob is having trouble with the ltmodem RPM for Redhat ... installation script failed midway through because /dev/modem already ... because the RPM database thought the package was already ... package ltmodem is not installed ...
    (comp.os.linux.hardware)
  • [opensuse] a second GNOME damage after update
    ... Surprisingly this package is displayed as to be not installed although gnome-control-center and gnome-settings-daemon always worked until yesterday. ... Unfortunately YaST rejects the installation of this package because it ... Even if a new package requires a second version of an already installed package rpm should ensure that these two versions can coexist. ... I am desperately looking for a way to install "control center2". ...
    (SuSE)
  • Re: ZoneMinder finally installed and functional as a DV(R?).
    ... with ZoneMinder, there was difficulty. ... web site and simply copied the correct package to my box. ... Installation ... Part of the error message I got clarifies how to set up MySQL. ...
    (alt.os.linux.suse)
  • Re: Conventions for NFS sharing of binaries
    ... Do you have distro & local packages with same name? ... mount it r/w on your "master installation machine" (with RPM management). ... If you replace a package with a different one with the same name, hmm, you ...
    (comp.os.linux.misc)
  • Re: missing X11 when configuring mplayer
    ... I found the xorg-x11-devel package in my FC3 installation. ... below at the bottom of this email for the detail of rpm -qi ...
    (Fedora)