mace-opensaml-users - Re: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library
Subject: OpenSAML user discussion
List archive
Re: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library
Chronological Thread
- From: Tristan Waddington <>
- To:
- Cc:
- Subject: Re: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library
- Date: Mon, 12 Jan 2009 14:24:07 -0800
Scott,
I was finally able to get Shibboleth and its dependencies to compile in FreeBSD today. After recompiling all the dependencies with the --disable-static flag set, XML-Tooling was still unable to link to the XML-Security-C library.
I did some digging and found out that FreeBSD is unable to handle shared libraries with extended version numbers in the file name.
http://www.freebsd.org/doc/en/books/handbook/linuxemu-lbc-install.html
To solve this problem I had to create some symlinks like so:
libxml-security-c.so -> libxml-security-c.so.14.0
libxmltooling-lite.so -> libxmltooling-lite.so.2.0
libsaml.so -> libsaml.so.3.0
After doing so the compiler was able to link successfully.
Some of the dependencies created the links automatically, but apparently these did not.
Thanks for your help!
-Tristan
Scott Cantor wrote:
Also, I have a vague memory that there may be some kind of system option or
compiler setting or something that controls whether -lfoo favors libfoo.so
or libfoo.a. Usually it's supposed to favor .so I think, but maybe something
on your box is doing the opposite.
-- Scott
--
Tristan Waddington
EMU Marketing — Assistant Web Developer
http://emumarketing.uoregon.edu
- opensaml-2.1 configure: error: unable to link with XML-Security library, twadding, 01/09/2009
- RE: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Scott Cantor, 01/09/2009
- Re: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Tristan Waddington, 01/09/2009
- RE: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Scott Cantor, 01/09/2009
- Message not available
- RE: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Scott Cantor, 01/09/2009
- Re: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Tristan Waddington, 01/09/2009
- Re: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Tristan Waddington, 01/12/2009
- Re: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Tristan Waddington, 01/12/2009
- RE: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Scott Cantor, 01/13/2009
- Re: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Tristan Waddington, 01/12/2009
- RE: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Scott Cantor, 01/09/2009
- Re: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Tristan Waddington, 01/09/2009
- RE: [OpenSAML] opensaml-2.1 configure: error: unable to link with XML-Security library, Scott Cantor, 01/09/2009
Archive powered by MHonArc 2.6.16.