[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Useless call to ldconfig and shared libraries issue



On Tue, Feb 03, 2015 at 02:51:46PM +0100, Leopold Palomo-Avellaneda wrote:
> > Leopold: we are talking about a private library here, rpath is what
> > you set for private libraries.
> 
> 
> :-)
> 
> thanks for the clarification Paul.
> 
> Looking on the problem, there's a package: zathura, that has a private lib, 
> installed in a directory inside /usr/lib/zathura, and works.
/usr/lib/zathura/pdf.so is a plugin, not a private lib: nothing is linked
against it, it is meant to be dlopened.

> Looking your rules, you have:
> 
>  DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -Wl,-rpath=/usr/lib/fw4sp
> 
> zathura, have this:
> 
> export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
> 
> 
> Could you test it?
-Wl,--as-needed has nothing to do with private libraries.


-- 
WBR, wRAR

Attachment: signature.asc
Description: Digital signature


Reply to: