ld can't find liblpsolve55.so; compilation error
Bug #1169610 reported by
martin seybold
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lp-solve (Debian) |
Won't Fix
|
Unknown
|
|||
lp-solve (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
the dynamic lib liblpsolve55.so comes with the package `lp-solve` installed to /usr/lib/
when compiling a programm to link against liblpsolve55.so, ld cannot find the library.
So, either
1) please add /usr/lib/lp_solve/ to the ld library path
or
2) let the package lp-solve contain a symlink to the library:
/usr/lib$ ls -ali liblpsolve55.so
11284987 lrwxrwxrwx 1 root root 24 Apr 16 16:46 liblpsolve55.so -> lp_solve/
Changed in lp-solve (Debian): | |
status: | Unknown → Won't Fix |
To post a comment you must log in.
This could be solved by installing a file in /etc/ld.so.conf.d, for example lpsolve.conf, with the content
/usr/lib/lp_solve. Surely the package ought to do this.