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

Re: dpkg-shlibdeps and private libraries



On Wed, Sep 26, 2007 at 10:36:18AM +0000, Reinhard Tartler wrote:
> Raphael Hertzog <hertzog@debian.org> writes:
> 
> > libswui680lp.so has an RPATH set to $ORIGIN ... which is an environment
> > variable apparently defined by the openoffice startup script/program. 
> > This variable is not set a build time (and the code wasn't expecting
> > variables at that place anyway).
> 
> I don't think $ORIGIN is an environment variable. AFAIK, the sun linker
> is using that keyword to specify that you want to use an RPATH relative
> to the location of the binary, which is pretty handy for
> deploying/moving not packaged local software that is dynamically linked.
> 
> According to http://linuxreviews.org/man/ld.so/, the linux ld.so
> supports the same feature. However, I did not find this piece in the
> debian manpage, nor in the upstream documentation.

  Yeah, as discussed on IRC, it's not documented, but the glibc ld.so
supports $ORIGIN and $PLATFORM at least since glibc 2.1. It also
supports $LIB which use is somehow unclear to me.

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpHZeqaNCrXf.pgp
Description: PGP signature


Reply to: