link fails if xml-security-c library outside default link path
Basics
Technical
Logistics
Basics
Technical
Logistics
Description
The link step fails during compilation if the xml-security-c library was installed outside of ld's default search path, due to the ordering of link options on the libtool command line:
This occurs because XMLSEC_LIBS precedes LDFLAGS on the libtool link command line, and XMLSEC_LIBS includes -lxml-security-c but not the -L option needed to find the library.
Two possible solutions:
Move XMLSEC_LIBS after LDFLAGS on the libtool link command line in xmltooling/Makefile
Add the with_xmlsec -L option to XMLSEC_LIBS in configure
The link step fails during compilation if the xml-security-c library was installed outside of ld's default search path, due to the ordering of link options on the libtool command line:
This occurs because XMLSEC_LIBS precedes LDFLAGS on the libtool link command line, and XMLSEC_LIBS includes -lxml-security-c but not the -L option needed to find the library.
Two possible solutions:
Move XMLSEC_LIBS after LDFLAGS on the libtool link command line in xmltooling/Makefile
Add the with_xmlsec -L option to XMLSEC_LIBS in configure