Using SRPM method to install Shibboleth on Amazon EC2 ...
Michael A Grady
mgrady at unicon.net
Fri Mar 13 15:53:39 EDT 2015
On Mar 13, 2015, at 1:04 PM, Cantor, Scott <cantor.2 at OSU.EDU> wrote:
> On 3/13/15, 1:52 PM, "Michael A Grady" <mgrady at unicon.net> wrote:
>> I'm assuming there is something else embedded in what got built that is causing the /usr/lib64 version
>> to get used even though I've set LD_LIBRARY_PATH. (Both in init.d and in sysconfig,
>> and tested it was set by adding a "env" into the /etc/init.d/shibd script to see the
>> environment just before running "daemon ..".)
>
> The rpath has to be stripped.
>
> chrpath -d $RPM_BUILD_ROOT%{_sbindir}/shibd
> chrpath -d $RPM_BUILD_ROOT%{_bindir}/mdquery
> chrpath -d $RPM_BUILD_ROOT%{_bindir}/resolvertest
>
Worked like a charm! Thanks.
Do you want me to update the SRPM documentation, or, since the newest version will "just work", leave it as is?
--
Michael A. Grady
Senior IAM Consultant, Unicon, Inc.
More information about the users
mailing list