help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Help with GLPK installation


From: Andrew Makhorin
Subject: Re: [Help-glpk] Help with GLPK installation
Date: Sun, 17 Jan 2010 05:13:47 +0300

>> In examples dir i do "sudo mv glpsol
>> /usr/local/bin" and "sudo chmod +x
>> /url/local/bin/glpsol" and I can run glpsol in any dir
>> without have
>> physically glpsol file in the dir?
>> 

> Two crucial things to make it work:

> 1. /usr/local/bin is in your $path 
> 2. glpk.so (dynamic library) is in the right place.

> to check which glpsol will be invoked, run

>> which glpsol

> if nothing, then glpsol is not in your path.

> If 1 is passed, but 2 is not, then you glpsol won't
> be able to link to glpk.so, and you still get stuck.

You can use './configure --disable-shared' to disable dynamic linkage.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]