Working Around Missing Libmyodbc In Debian Stretch

Home » Asterisk Users » Working Around Missing Libmyodbc In Debian Stretch
Asterisk Users 3 Comments

Hello,

I’m building a new Asterisk system from source on Debian Stretch. My building script fails as package libmyodbc is currently missing from Debian Stretch repo.

Is there a work around this without leaving MySQL/MariaDB galaxy ?

Best regards

3 thoughts on - Working Around Missing Libmyodbc In Debian Stretch

  • This is why you should not use Debian testing for a server! Testing is kept
    “always installable” by the crude method of REMOVING broken packages until a compatible version is ready. This means you will occasionally find a package with no install candidate.

    You will have to get the Source package for libmyodbc out of Sid, and see what you have to do to persuade it to build on your system. And then maybe pass that information upstream to the package maintainers concerned.

  • Le 08/06/2017 à 15:15, J Montoya or A J Stiles a écrit :

    Well, Stretch will be the new stable as of 17 june 2017 which for me is no more a testing version.


    Daniel

  • I found this [1], downloaded a tar file from [2], hand copied a single libmyodbc5a.so into appropriate /usr/lib/x86_64-linux-gnu/odbc/
    directory and adapted /etc/odbcinst.ini file accordingly. After all this, it seemed to work OK but I’m still not too confident.

    Shall I trust a couple of successful isql queries to declare the above work around as successful ?
    I don’t know.

    While at it, I also found a source tar file from [2]. Transforming it into a proper deb package is not an easy task for me but doing it would help to have MySQL/ODBC connectivity to the many platforms Debian supports.

    [1]
    https://askubuntu.com/questions/800216/installing-ubuntu-16-04-lts-how-to-install-odbc
    [2] https://dev.mysql.com/downloads/connector/odbc/

    2017-06-08 16:17 GMT+02:00 Administrator TOOTAI :