File: README

package info (click to toggle)
liblip 2.0.0-1.1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 2,496 kB
  • ctags: 3,108
  • sloc: sh: 8,632; cpp: 8,109; ansic: 4,348; makefile: 106
file content (12 lines) | stat: -rw-r--r-- 800 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
NOTE: that althought some of the examples will compile (e.g. shared examples) they will not work accordingly if the shared libraries are not properly installed. The only 
exception is that of static_example2, that is if glpk is installed (read bellow).

To compile the examples you need to have glpk installed and do one of the following:

1. Install the glpk library to /usr/local/ have its location on disk added to /etc/ld.soconf. 

2. Alternativelly if you have installed lip-2.0.0 to a user directory (e.g. /home/username/liblip2 ), the you might want to place libglpk.a in the lib directory (e.g 
/home/username/liblip2/lib).

3. Edit the makefile and ensure that the the compiler know the location of the libglpk.a. This can be done by editing the GLPK_STATIC_PATH variable in the make file.