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

Re: Shared library defines a RPATH

>>>>> "Eric" == Eric Van Buggenhaut <Eric.VanBuggenhaut@AdValvas.be> writes:
    Eric> How can I solve this problem ?

Your problem is libtool.  Setting rpath *at all* is a viloation of
policy.  Add the following makefile snippet after calling ./configure
in debian/rules

  # Patch the generated libtool to avoid passing -rpath when linking,
  # and to explicitly link libraries against the libraries they depend
  # on. (thanks Richard Braakman <dark@xs4all.nl>)

	sed < libtool > libtool-2 \
		-e 's/^\(hardcode_libdir_flag_spec\).*$$/\1=" -D__LIBTOOL_IS_A_FOOL__ "/' \
		-e '/^archive_cmds="/s/"$$/ \\$$deplibs"/'
	mv libtool-2 libtool
	chmod 755 libtool


"And what do we burn apart from witches?"... "More witches!"

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: