Skip to Content.
Sympa Menu

shibboleth-dev - [shib 2.0 sp install problem] try to configure opensaml-2.0 .. got error "error: unable to link with xmltooling library"

Subject: Shibboleth Developers

List archive

[shib 2.0 sp install problem] try to configure opensaml-2.0 .. got error "error: unable to link with xmltooling library"


Chronological Thread 
  • From: "Younghyun Park" <>
  • To:
  • Subject: [shib 2.0 sp install problem] try to configure opensaml-2.0 .. got error "error: unable to link with xmltooling library"
  • Date: Thu, 27 Dec 2007 15:29:56 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hQLcdtUQhQwh/O/JbNJBmLexXxox4bE/G3ki7oCd1KqeLyuqWNbpUvLq1HzbUvuG4dAcIKWF7eBa8AAIvcIKJTq7sP9Vo/P9wzoPnVEdvc9wjRRb6mcpy6CEIPe/1eulgYomNz2do0CyC+XgdpXXfAvwxI0iRLL4dDBxL5paXxc=

I try to install shibboleth-sp in Linux machine.
(Linux 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:58:20 EDT 2007 x86_64
x86_64 x86_64 GNU/Linux)

=============================================================
$ OpenSSL:
./config -m64 --prefix=/home/openssl --openssldir=/home/openssl/include

$ libcurl: ./configure --disable-static --without-ca-bundle
--enable-thread --prefix=/home/shibboleth-sp

$ log4shib: ./configure --disable-static --disable-doxygen
--prefix=/home/shibboleth-sp

$ Xerces-C:./runConfigure -p linux -r pthread -b 64 -P /home/shibboleth-sp

$ XML-Security-C: ./configure --without-xalan --prefix=/home/shibboleth-sp

$ XMLTooling-C: ./configure --with-log4shib=/home/shibboleth-sp
--with-curl=/home/shibboleth-sp --prefix=/home/shibboleth-sp -C

$ OpenSAML: ./configure --with-curl=/home/shibboleth-sp
--with-log4shib=/home/shibboleth-sp --prefix=/home/s
hibboleth-sp -C
=====================================================================

I installed openssl,libcurl,log4shib,xerces-c,xml-security-c,xml-tooling-c
with no problem.
But, when I try to configure opeansaml-2.0, I got the errros.
=> configure: error: unable to link with xmltooling library

here is config.log file
...
configure:24056: result: yes
configure:24060: checking xmltooling/XMLToolingConfig.h presence
configure:24070: g++ -E -I/home/shibboleth-sp/include -pthread -Wall
-O2 -DNDEBUG conftest.cc
configure:24076: $? = 0
configure:24096: result: yes
configure:24131: checking for xmltooling/XMLToolingConfig.h
configure:24138: result: yes
configure:24167: g++ -o conftest -pthread -Wall -O2 -DNDEBUG
-I/home/shibboleth-sp/include -pthread -Wall -O2 -DNDEBUG -L/home/
shibboleth-sp/lib -llog4shib -lnsl conftest.cc -lxmltooling
-lxml-security-c -lxerces-c -lz >&5
/home/shibboleth-sp/lib/libxmltooling.so: undefined reference to
`X509_STORE_CTX_set_depth'
collect2: ld returned 1 exit status
configure:24173: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "opensaml"
| #define PACKAGE_TARNAME "saml"
| #define PACKAGE_VERSION "2.0"
| #define PACKAGE_STRING "opensaml 2.0"
| #define PACKAGE_BUGREPORT
""
| #define PACKAGE "opensaml"
| #define VERSION "2.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRSTR 1
| #define SIZEOF_TIME_T 8
| #define HAVE_PTHREAD 1
| #define HAVE_LIBZ 1
| #define HAVE_NAMESPACES 1
| #define HAVE_NAMESPACES 1
| #define OPENSAML_LOG4SHIB 1
| #define HAVE_LIBXERCESC 1
| #define HAVE_LIBXSEC 1
| /* end confdefs.h. */
| #include <xmltooling/XMLToolingConfig.h>
| int
| main ()
| {
| xmltooling::XMLToolingConfig::getConfig().init()
| ;
| return 0;
| }
configure:24197: error: unable to link with xmltooling library
...

Anyone has any idea?

Thanks ahead,

--
Young Park

Assistant Database Administrator
Florida Center for Library Automation
5830 NW 39th Ave
Gainesville, FL 32606
Phone: (352) 392-9020 ext 263



Archive powered by MHonArc 2.6.16.

Top of Page