Find the answer to your Linux question:
Results 1 to 8 of 8
I`m trying to install the last version of mysql server and client from a rpm source and i get the following error: error: Failed dependencies: /bin/sh is needed by MySQL-shared-5.0.27-0.glibc23 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    4

    Slack 11.0 MYSQL problem


    I`m trying to install the last version of mysql server and client from a rpm source and i get the following error:

    error: Failed dependencies:
    /bin/sh is needed by MySQL-shared-5.0.27-0.glibc23
    libc.so.6 is needed by MySQL-shared-5.0.27-0.glibc23
    libc.so.6(GLIBC_2.0) is needed by MySQL-shared-5.0.27-0.glibc23
    libc.so.6(GLIBC_2.1) is needed by MySQL-shared-5.0.27-0.glibc23
    libc.so.6(GLIBC_2.1.2) is needed by MySQL-shared-5.0.27-0.glibc23
    libc.so.6(GLIBC_2.1.3) is needed by MySQL-shared-5.0.27-0.glibc23
    libc.so.6(GLIBC_2.2) is needed by MySQL-shared-5.0.27-0.glibc23
    libc.so.6(GLIBC_2.3) is needed by MySQL-shared-5.0.27-0.glibc23
    libcrypt.so.1 is needed by MySQL-shared-5.0.27-0.glibc23
    libm.so.6 is needed by MySQL-shared-5.0.27-0.glibc23
    libnsl.so.1 is needed by MySQL-shared-5.0.27-0.glibc23
    libpthread.so.0 is needed by MySQL-shared-5.0.27-0.glibc23
    libpthread.so.0(GLIBC_2.0) is needed by MySQL-shared-5.0.27-0.glibc23
    libpthread.so.0(GLIBC_2.1) is needed by MySQL-shared-5.0.27-0.glibc23
    libpthread.so.0(GLIBC_2.2) is needed by MySQL-shared-5.0.27-0.glibc23
    libpthread.so.0(GLIBC_2.3.2) is needed by MySQL-shared-5.0.27-0.glibc23
    libz.so.1 is needed by MySQL-shared-5.0.27-0.glibc23

    I`m very new to the linux universe, can someone help me pls?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Slackware does not use rpm for package management although various rpm tools are included in the distro. You need to get Slackware mysql tgz packages, or install mysql from source or maybe convert the rpm package into a Slackware package using the "rpm2tgz" command. Personally I would just look for a Slackware tgz.

  3. #3
    Just Joined!
    Join Date
    Dec 2006
    Posts
    4
    I`ve tried rpm2tgz but it makes them tar.gz instead of .tgz
    well... i AM ashamed to admit, but i`m a complete noob at this. can u guide me where to find a downloadable .tgz source or how to transform it from .rpm or tar.gz into a tgz?

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    There are two different commands, rpm2tgz and rpm2targz. Which one did you use? As for Slackware packages, you can get them from http://packages.slackware.it/ . When I used Slackware, I used to use a package manager called swaret which could download the required packages from the internet as well as any dependencies. You can also use swaret to do upgrades.

  5. #5
    Just Joined!
    Join Date
    Dec 2006
    Posts
    4
    i have finally managed to install mysql and started the server, all looked nice untill i rebooted. when the server booted, after it started the mysqld, it killed it.

    STOPPING server from pid file /var/run/mysql/mysql.pid 061226 16:43:55 mysqld ended

    why? and what do i do to correct the problem?

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Read the text in red on this page.

  7. #7
    Just Joined!
    Join Date
    Dec 2006
    Posts
    4
    hm... it seems i found an even quicker way to solve it. i just put the startup sequence in rc.local.

    /etc/rc.d/mysql.server start

    it still gives me the stopping error but then it restarts the mysql server...
    not elegant, but as i said, i`m a noob and i`m kinda affraid to do stuff i don`t know what it does.

  8. #8
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Did you read that red text? The default db needs to be created by running this command as root:

    su mysql -c mysql_install_db


    I'm not sure where you got your mysql packages for slack 11, but mine came with an rc.mysqld

    You say it starts after the stopping error though? So is it starting or no?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •