Results 1 to 2 of 2

Thread: Cannot find libmariadb.so

  1. #1
    Join Date
    May 2015
    Beans
    4

    Cannot find libmariadb.so

    Hello!

    I am attempting to run a 32bit program on a 64bit version of Ubuntu.

    I succeeded in this by installing the i386 libraries, however this 32bit program also uses MySQL.

    While attempting to connect to the MySQL server it produces the error:
    "libmariadb.so: cannot open shared object file: No such file or directory"

    I'm assuming that because I have a 64bit version of MySQL that the libmariadb.so is simply in a different place.

    I know vaguely about symbolic links between files and I was wondering if anyone knows where libmariadb.so is in 64bit MySQL and where I need to link it to?


    It may be however that i'm completely wrong and there's a completely different solution for this, either way I hope you can help.

    Thanks!

    (It may be worth noting that i'm SSH'ing onto an external server and I don't have access to a gui, only the terminal)

    (I'm also using Ubuntu 14.04 i386)
    Last edited by hugo29; September 4th, 2015 at 09:44 AM.

  2. #2
    Join Date
    Apr 2006
    Location
    Europe, Germany
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Cannot find libmariadb.so

    If your system is running a 64-bit Ubuntu (even though your last sentence said i386, not amd64 ) and you want to run a 32-bit program using MySQL, you'd also have to use a 32-bit MySQL library.

    This shouldn't be a problem, since libmariadb provides libmysqlclient, however in 14.04, the MariaDB library was named libmariadbclient.so, and in 15.04 it was renamed to libmariadb.so.

    Could it be, that the program you are trying to run, was compiled on a younger version of Ubuntu than 14.04?

Tags for this Thread

Bookmarks

Posting Permissions

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