我按照以下步骤在Ubuntu 14.04上安装Shibboleth SP
安装了必备软件包
sudo apt-get install --yes wget gcc g++ make libssl-dev libcurl4-openssl-dev apache2-threaded-dev
创建目录
mkdir -p ~/build-shib
sudo mkdir -p /opt/shibboleth-sp/etc/shibboleth
下载并安装以下
cd ~/build-shib
wget http://www.shibboleth.net/downloads/log4shib/1.0.4/log4shib-1.0.4.tar.gz
wget http://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.1.tar.gz
wget http://www.apache.org/dist/santuario/c-library/xml-security-c-1.6.1.tar.gz
wget http://www.shibboleth.net/downloads/c++-opensaml/2.4.3/xmltooling-1.4.2.tar.gz
wget http://www.shibboleth.net/downloads/c++-opensaml/2.4.3/opensaml-2.4.3.tar.gz
wget http://www.shibboleth.net/downloads/service-provider/2.4.3/shibboleth-sp-2.4.3.tar.gz
tar xvfz log4shib-1.0.4.tar.gz
tar xvfz xerces-c-3.1.1.tar.gz
tar xvfz xml-security-c-1.7.2.tar.gz
tar xvfz xmltooling-1.4.2.tar.gz
tar xvfz opensaml-2.4.3.tar.gz
tar xvfz shibboleth-sp-2.5.3.tar.gz
cd ~/build-shib/log4shib-1.0.4
./configure --disable-static --disable-doxygen --prefix=/opt/shibboleth-sp && make && sudo make install
cd ~/build-shib/xerces-c-3.1.1
./configure --prefix=/opt/shibboleth-sp && make && sudo make install
cd ~/build-shib/xml-security-c-1.7.2
./configure --without-xalan --disable-static --with-xerces=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp && make && sudo make install
cd ~/build-shib/xmltooling-1.4.2
./configure --with-log4shib=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp -C && make && sudo make install
cd ~/build-shib/opensaml-2.4.3
./configure --prefix=/opt/shibboleth-sp --with-log4shib=/opt/shibboleth-sp -C && make && sudo make install
cd ~/build-shib/shibboleth-2.5.3
./configure --with-saml=/opt/shibboleth-sp --enable-apache-22 --with-log4shib=/opt/shibboleth-sp --with-xmltooling=/opt/shibboleth-sp \
--prefix=/opt/shibboleth-sp -C && make && sudo make install
当我尝试检查是否使用
正确编译Shibboleth SP时ldd /opt/shibboleth-sp/bbin/shibd | grep /opt/shibboleth-sp/lib
我收到以下错误
ldd: /opt/shibboleth-sp/bin/shibd: No such file or directory
在检查/opt/shibboleth-sp/bin/
中的内容时,我发现没有shibd
我错过了什么?
答案 0 :(得分:1)
在我的情况下, shibd 在源代码编译后在/opt/shibboleth-sp/sbin/
处可用。我有一个64位CPU架构和Ubuntu 14.04。我不确定这是否会影响。