Has anyone used glpk on an Amazon ec2 micro instance? I am having trouble getting it working
includes "glpk.x86_64 4.40-1.1.4.amzn1 @amzn-main"
============================== N/S Matched: glpk ===============================
glpk-devel.x86_64 : Development headers and files for GLPK
glpk-doc.x86_64 : Documentation for glpk
glpk-static.x86_64 : Static version of GLPK libraries
glpk-utils.x86_64 : GLPK-related utilities and examples
glpk.i686 : GNU Linear Programming Kit
glpk.x86_64 : GNU Linear Programming Kit
But from here how do you actually run glpsol or even call glpk.h as a library?
<glpk.h> is not found if I include it in a c file or if I try gem install of rglpk
[ec2-user rubygems-1.8.11]$ sudo gem install rglpk
checking for main() in -lglpk... no
ERROR: Cannot find the GLPK library, aborting.
a 'find / -name glpk*' does not find glpk files either.
I could be doing something stupid with linux rather than linux on ec2. But any help you can provide me on how to get a "hello world" glpk example running on amazon ec2 linux would be great.