reassign 417694 lp-solve
retitle 417694 should add /usr/lib/lp_solve to ld.so.conf / run ldconfig
severity 417694 wishlist
thanks

Hi,

Didrik Pinte wrote:
> Two arguments for using ldconfig in the liblpsolve55-dev package : 
> 
> [1] I'm actually using a Matlab MEX file under Debian that is linked to the
> liblpsolve55.so. It should be great if the liblpsolve55-dev package updates 
> the
> ldconfig so that I can use it without adding by hand LD_LIBRARY_PATH all the
> time.

Running ldconfig here would not help. Maybe adding /usr/lib/lp_solve to
/etc/ld.so.conf[.d] will, but..

And anyway, liblpsolve5..so is *NOT* in liblpsolve55-dev but in
lp-solve.

> [2] I've built a Debian package for the Python interface of lp-solve. It runs
> fine but i'm forced to update LD_LIBRARY_PATH by hand too to make it running

or use a rpath. Or use a wrapper script (if it's a binary which it isn't
in this case).

You need to add the dependency to lp-solve manually anyway since the
shared lib is not recognized by dpkg-shlibdeps. That one of the reasons
this is in a private directory after all and not simply in /usr/lib.

Regards,

Rene
-- 
 .''`.  Ren� Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73

Attachment: signature.asc
Description: Digital signature

Reply via email to