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

MakeMaker and RPATH



[Please Cc: me with replies, as I'm not subscribed to the list....]

I have a Perl package (with a compiled module) I'm building, and
lintian complains:

W: libkpathsea-perl: binary-or-shlib-defines-rpath \
./usr/lib/perl5/5.005/i386-linux/auto/TeX/Kpathsea/Kpathsea.so /usr/lib

Now, the reason for this is that the Makefile generated contains the
lines:

# --- MakeMaker dynamic_lib section:

# This section creates the dynamically loadable $(INST_DYNAMIC)
# from $(OBJECT) and possibly $(MYEXTLIB).
ARMAYBE = :
OTHERLDFLAGS = 
INST_DYNAMIC_DEP = 

$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(INST_DYNAMIC_DEP)
        LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) -o $@  $(LDDLFLAGS)
        $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(EXPORT_LIST)
        $(CHMOD) $(PERM_RWX) $@

Now, this means that RPATH is set in the .so file produced, which
policy objects to.

Has there been any discussion about this matter, and if so, what were
the conclusions, if any?

Thanks,

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg


Reply to: