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

Re: Lintian error binary-or-shlib-defines-rpath


Op wo 12 okt 2005 om 09:32:55 +0200 schreef Michael Hanke:
> Joost van Baal schrieb:
> > Op di 11 okt 2005 om 10:26:50 +0200 schreef Jan C. Nordholz:
> > 
> > <snip>
> > 
> >>AFAICT, --disable-rpath is catching all usages of the "rpath" feature except
> >>one: src/Makefile.in, Line 540:
> >>
> >>    540         $(CXXLINK) -rpath $(kde_moduledir) $(libkbibtexpart_la_LDFLAGS) $(libkbibtexpart_la_OBJECTS) $(libkbibtexpart_la_LIBADD) $(LIBS)
> >>
> >>Here -rpath is used unconditionally (and the target in question is
> >>libkbibtexpart.la, so I think that is the one lintian chokes about).
> >>I'd suggest you remove the "-rpath $(kde_moduledir)" and try again.
> > 
> > 
> > And, of course, report this ignoring --disable-rpath as a bug to
> > upstream.
> Of course. I did this even before posting to this list.
> Simply removing "-rpath $(kde_moduledir)" from the Makefile.in did not
> make it. It led to an error about missing libkbibtexpart.lai (sorry, I
> don't have the output here ATM).
> I don't know the autotools too well, but as Makefile.in is a generated
> file, shouldn't the root of the error be somewhere else?

Yes, probably in Makefile.am in the same directory.  If it's not there,
it might be in configure.{ac,in} in the toplevel directory.

NB: fixing these kind or problems is very often not trivial,



Attachment: signature.asc
Description: Digital signature

Reply to: