Using SRPM method to install Shibboleth on Amazon EC2 ...
Paul Wilt
pewilt at gmail.com
Wed Apr 16 15:42:48 EDT 2014
We are trying to install Shibboleth on Amazon's EC2 using Amazon Linux.
The Shibboleth NativeSPLinuxSRPMBuild wiki page suggests building from
Source RPMs.
The script we have used so far is as follows ...
#!/bin/bash
/usr/bin/yum -y update
mkdir shibboleth
cd shibboleth
/usr/bin/yum -y install automake boost-devel chrpath doxygen gcc-c++ groff
httpd-devel libidn-devel \
openldap-devel openssl-devel redhat-rpm-config rpm-build stunnel
unixODBC-devel curl-devel mod_ssl php
/sbin/chkconfig httpd on
/sbin/service httpd start
/usr/bin/wget -erobots=off --no-host-directories --cut-dirs=4 -r -l1 -A.rpm
http://shibboleth.net/downloads/service-provider/latest/SRPMS/
for package in log4shib xerces-c xml-security curl-openssl xmltooling
opensaml shibboleth
do
/usr/bin/rpmbuild --rebuild ${package}*.src.rpm
/usr/bin/yum -y install /usr/src/rpm/RPMS/x86_64/*
done
After everything builds and installs I tried to test the shibd (using shibd
-t) and I receive this error:
CRIT XMLTooling.Config : libcurl lacks OpenSSL-specific options, this
will greatly limit functionality
I used strace to track which libcurl it is attempting to use and it says
29928 open("/usr/lib64/tls/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
29928 open("/usr/lib64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = 3
I believe it *should* be using (/opt/shibboleth/lib64/libcurl.so.4) and so
I set LD_LIBRARY_PATH to
/opt/shibboleth/lib64 and it did not seem to affect the library being
loaded.
(export LD_LIBRARY_PATH=/opt/shibboleth/lib64:$LD_LIBRARY_PATH)
Can someone point me in a correct direction?
Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20140416/5e095055/attachment.html
More information about the users
mailing list