ld can't find liblpsolve55.so; compilation error

Bug #1169610 reported by martin seybold
10
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/lp_solve/liblpsolve55.so .

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/liblpsolve55.so

Revision history for this message
Martin Pokorny (martin-truffulatree) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lp-solve (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Pokorny (martin-truffulatree) wrote :

Of course, the library file could also be installed straight into /usr/lib. Why is it in a sub-directory to begin with?

Changed in lp-solve (Debian):
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.