Results 1 to 3 of 3

Thread: mysql libraries not available after install (12.04)

  1. #1
    Join Date
    Dec 2011
    Beans
    1

    mysql libraries not available after install (12.04)

    Finished a fresh install of Ubuntu 12.04 Beta2, MySQL server (5.5.22) and libmysqlclient-dev (16). MySQL is up and running, header files are there as well. I was expecting lib files to be available in /usr/lib/mysql. They are not (the folder is there) and builds cannot resolve the references. Am I missing something else? or is something broken with the mysql dev install?

    Thanks
    BR

  2. #2
    Join Date
    Jul 2011
    Beans
    1

    Exclamation Re: mysql libraries not available after install (12.04)

    Using Ubuntu 12.04 LTS

    Same problem here.

    If you are using 64bit Ubuntu, the location of the libraries are in /usr/lib/x86_64-linux-gnu/

    But be warned that you will not be able to compile nothing with libmysqlclient, as every symbol (mysql_init(), etc.) will not be found. (That's the reason I found your question here, looking for a solution)

  3. #3
    Join Date
    Apr 2007
    Location
    Canada
    Beans
    197
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: mysql libraries not available after install (12.04)

    I managed to compile something with libmysqlclient after installing the 'libmysqlclient-dev' package from apt-get on Ubuntu 12.04.

    Ie:
    Code:
    sudo apt-get install libmysqlclient-dev
    Hope this helps,
    Scott
    4200+ AMD Live CPU - 4 GB Ram - 40 GB, 250 GB, 500 GB, 1 TB, 1.5 TB, & 2 TB HDDs - NVIDIA GeForce 7600GS

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
  •