[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [Help-glpk] Mac OS X ODBC MathProg
From: |
xypron |
Subject: |
Re: Re: [Help-glpk] Mac OS X ODBC MathProg |
Date: |
Tue, 16 Feb 2010 11:04:55 -0800 (PST) |
Hello Andrew,
I downloaded the original glpk-4.42.
In configure.ac I removed the .so extensions.
I ran autoconf;./configure --enable-dl --enable-odbc --enable-mysql; make
This is the result:
> ./glpsol -m sql/transp_mysql.mod
GLPSOL: GLPK LP/MIP Solver, v4.42
Parameter(s) specified in the command line:
-m sql/transp_mysql.mod
Reading model section from sql/transp_mysql.mod...
Reading data section from sql/transp_mysql.mod...
71 lines were read
Reading plants...
unable to open library libmysqlclient
file not found
sql/transp_mysql.mod:17: error on opening table plants
MathProg model processing error
Ommitting the extension is not allowable in dl_open.
You can use the following patch:
http://old.nabble.com/file/p27613410/configure.ac.patch configure.ac.patch
For a diff display see:
http://glpk.dyndns.org/viewvc/svn/glpk/branches/glpk-4.42-sql_null_data/configure.ac?view=diff&r1=87&r2=83&diff_format=h
Best regards
Xypron
Andrew Makhorin wrote:
>
> Xypron,
>
>> please, have a look at
>> http://source.winehq.org/source/configure.ac
>
>> Learning from this example we could use the following
>> in configure.ac:
>
>> case $host_os in
>> darwin*|macosx*)
>> LIBIODBC="libiodbc.dylib"
>> LIBMYSQL="libmysqlclient.dylib"
>> LIBODBC="libodbc.dylib"
>> ;;
>> *)
>> LIBIODBC="libiodbc.so"
>> LIBMYSQL="libmysqlclient.so"
>> LIBODBC="libodbc.so"
>> ;;
>> esac
>
> Before I will make changes in configure.ac could you please check
> that omitting filename extension, i.e.
>
> LIBIODBC="libiodbc"
> LIBMYSQL="libmysqlclient"
> LIBODBC="libodbc"
>
> works correctly? It seems to me that the system shared library
> functions should be smart enough to use a standard extension if none
> is specified.
>
>
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-glpk
>
>
--
View this message in context:
http://old.nabble.com/Mac-OS-X-ODBC-MathProg-tp27589077p27613410.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.
- [Help-glpk] Mac OS X ODBC MathProg, Noli Sicad, 2010/02/14
- [Help-glpk] Re: Mac OS X ODBC MathProg, Noli Sicad, 2010/02/15
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Xypron, 2010/02/15
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Chris Wolf, 2010/02/15
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Xypron, 2010/02/15
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Andrew Makhorin, 2010/02/15
- Re: Re: [Help-glpk] Mac OS X ODBC MathProg,
xypron <=
- Re: [Help-glpk] Mac OS X ODBC MathProg, Andrew Makhorin, 2010/02/16
- Re: [Help-glpk] Mac OS X ODBC MathProg, Chris Wolf, 2010/02/16
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Noli Sicad, 2010/02/15
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Andrew Makhorin, 2010/02/15
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Chris Wolf, 2010/02/15
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Maurice Diamantini, 2010/02/16
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Noli Sicad, 2010/02/16
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Maurice Diamantini, 2010/02/16
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Andrew Makhorin, 2010/02/17
- Re: [Help-glpk] Re: Mac OS X ODBC MathProg, Xypron, 2010/02/16