RE: rpath issues with 64-bit package

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Mon, 15 Aug 2011 20:25:07 -0700

> -----Original Message-----
> From: opendkim-dev-bounce_at_lists.opendkim.org [mailto:opendkim-dev-
> bounce_at_lists.opendkim.org] On Behalf Of Steve Jenkins
> Sent: Monday, August 15, 2011 7:31 PM
> To: opendkim-dev_at_lists.opendkim.org
> Subject: rpath issues with 64-bit package
>
> Nobody's awake in IRC right now, so I'll blurt this here and see if
> anyone has any ideas.
>
> When building the 2.4.2 package in CentOS 5 x86_64, I get:
> [...]
> The configure line from the spec file is:
>
> ./configure --prefix=%{_prefix} --localstatedir=%{_localstatedir}
> --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} --mandir=%{_mandir}
> --enable-stats CPPFLAGS="$INCLUDES"
>
> and I believe the libdir is contributing to the problem, but I'm not
> sure how to fix it.
>
> Reading here:
>
> http://fedoraproject.org/wiki/RPath_Packaging_Draft
>
> told me to try adding '--disable-rpath' to the configure, but that
> didn't fix it.

You need to say "--enable-rpath" for libopendkim to be built with the "-rpath" option to libtool, so that's not it (since you didn't say it). --libdir specifies an install location, not an rpath-like option.

Can you paste a full build log? If we see "-rpath" included anywhere then we know it's some local default we might have to suppress. If not, then there's some magic in the compiler causing it to include rpaths when we're not asking for them. That would be annoying, but there's probably some way to suppress that behaviour.
Received on Tue Aug 16 2011 - 03:25:16 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:11 PST