=> not found

I’ve upgraded my mysql from 4.0.X to 4.1.X…and some progs gave me errors that they could not start because they couldn’t find they proper mysql library…
The solution is to download a mysql package called MySQL-shared-compat. Unfortunately it only comes as an rpm…but..for us gentoo users there’s a nice solution to installing it.

Go download one of those rpms and then:

rpm2targz MySQL-shared-compat-4.0.25-0.i386.rpm
tar zxvf MySQL-shared-compat-4.0.25-0.i386.tar.gz
cp ./usr/lib/*.so.* /usr/lib/

and you are done…all progs continue to work just like before.

2 Responses to “ => not found”

  1. December 2nd, 2005 | 12:45
    Using Mozilla Firefox Mozilla Firefox 1.5 on Windows Windows XP

    This is incorrect. You need to rebuilt all the software that links to mysql. So run revdep-rebuild to find the borked packages and re-emerge.


  2. site admin
    December 2nd, 2005 | 21:09
    UsingUnknown browser

    Don’t rush…what about programs that are distributed as binaries, like bnetd (from pvpgn package), and are built with those libraries inside?
    check this for example:

    # ldd /usr/games/bin/bnetd => (0xffffe000) => /lib/ (0xb7fbb000) => /lib/ (0xb7fa5000) => /lib/ (0xb7f91000) => /lib/ (0xb7f7f000) => /usr/lib/ (0xb7f48000) => /lib/ (0xb7e2d000)
    /lib/ (0xb7feb000) => /lib/ (0xb7dff000) => /lib/ (0xb7df4000) => /lib/ (0xb7dee000)

    revdep-debuild is useless is such occasions. Try to emerge games-server/pvpgn and try using mysql 4.1 with it…good luck! heh….

    Don’t rush to judge on stuff that people write, there are times when reality could prove quite harsh on you.

Leave a reply