[Pkg-scicomp-devel] Bug#473224: Package glpk 4.28-1 does not support ODBC and MySQL

Rafael Laboissiere rafael at debian.org
Sun Mar 30 17:12:13 UTC 2008


* Xypron <xypron.debian at gmx.de> [2008-03-29 11:46]:

> Package: glpk
> Version: 4.28-1
> Severity: normal
>
> In the packages for glpk 4.28-1 the examples for SQL connectivity are missing
> These examplese are in the GNU source
> ftp://ftp.gnu.org/gnu/glpk/glpk-4.28.tar.gz
> 
> Trying to execute a model file with a table command the following error is issured:
> MySQL table driver not supported
> iODBC table driver not supported
> 
> These problems do not exist if GLPK 4.28 is build from the GNU source.
> 
> Please, add the missing examples.
> Please, provide the missing functionality.

Thanks for your bug report.  I think I fixed the problem reported above in
4.28-2.  I added the following cookbook in README.Debian:

    sudo apt-get install glpk-utils mysql-server-5.0 mysql-client-5.0 libmysqlclient15-dev
    cd /usr/share/doc/glpk-utils/examples/sql/
    ./mysql_setup.sh
    glpsol --math sudoku_mysql.mod
    
Note that the pacakges libiodbc2-dev and libmysqlclient15-dev must be
installed, not libiodbc2 and libmysqlclient15 (without -dev).  The reason
for this is because the lib*.so files are dynamically loaded by the libglpk
library.  These files only exist in the lib*-dev packages.

This is one of the reasons why I would prefer the plug-in design I propose
(à la plplot) instead of the design that you implemented (à la
openoffice.org). The other reason is that the dependencies on the libiodbc*
and libmysqlclient* packages would be automatically detected under the
plug-in design and there would be no need for users having to install the
lib*-dev packages.

Anyway, thanks for your work, since it fixed Bug#469732.

-- 
Rafael





More information about the Pkg-scicomp-devel mailing list