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

Re: ocaml compiled binaries and rpath



On Mon, Apr 14, 2003 at 05:07:26PM -0600, Joel Baker wrote:
> On Fri, Apr 11, 2003 at 11:11:17AM +0200, Sven Luther wrote:
> > On Thu, Apr 10, 2003 at 10:56:34PM +0200, Martin Pitt wrote:
> > > lintian says:
> > > 
> > > W: planets: binary-or-shlib-defines-rpath ./usr/bin/planets
> > > /usr/lib:/usr/X11R6/lib
> > > N:
> > > N:   The binary or shared library defines the `RPATH'. Usually this is a
> > > N:   bad thing. Most likely you will find a Makefile with a line like:
> > > N:       gcc test.o -o test -Wl,--rpath
> > > N:   or
> > > N:       gcc test.o -o test -R/usr/local/lib
> > > N:   Please contact debian-devel@lists.debian.org if you have questions
> > > N:   about this.
> > 
> > Just ignore it or add a override.
> 
> Any reason not to Build-Depend: chrpath, and do 'chrpath --delete' on
> the result?

Personnaly i don't know, i am no expert in rpath and don't fully
understand the issues involved.

But upstream strongly advice against doing such things.

Here is a mail about this on the debian-ocaml-maint list, but i have not
had time to read it fully and understand it myself.

http://lists.debian.org/debian-ocaml-maint/2003/debian-ocaml-maint-200304/msg00026.html

Claudio Sacerdoti Coen, who works with Stefano i understand, have issues
with inter-dependent (ocaml) library packages and such, and encountered this
kind of problems.

Also remember, that this is about ocaml, not just a bunch of C libraries
or executables, and other consideration may apply.

Friendly,

Sven Luther



Reply to: