Description of problem:
# rpm -q -l xmlsec1-openssl
There is no symlink that points /usr/lib64/libxmlsec1-openssl.so to /usr/lib64/libxmlsec1-openssl.so.1.
An strace of xmlsec1 command line tool shows that it only tries to load /usr/lib64/libxmlsec1-openssl.so and without the symlink the load will always fail.
Adding the symlink by hand enables the command line tool xmlsec1 to load the necessary libraries and work as expected.
Version-Release number of selected component (if applicable):
This is still a problem today....
When trying to verify an XML document:
func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=146:obj=lt_dlopenext:subj=unknown:error=7:io function failed:filename=libxmlsec1-openssl
func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=498:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec library function failed:crypto=openssl
func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=449:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec library function failed:
Error: unable to load xmlsec-openssl library. Make sure that you have
this it installed, check shared libraries path (LD_LIBRARY_PATH)
envornment variable or use "--crypto" option to specify different
Error: initialization failed
I would have hoped that it was fixed in the 2 1/2 years it has been open :\
This has been fixed in the fedora repository, see http://pkgs.fedoraproject.org/cgit/xmlsec1.git/commit/?h=f15&id=9cac7461f1f394e99ebb6065b3a60b1453c336b5
Is there anything I can do to help pull that fix into the EL6 branch?
I was able to successfully merge the fix from F15 into the EL6 branch with a few conflict resolutions. I bumped the release number and am attempting a build. Changes are https://github.com/easel/xmlsec1/commit/16b85068b1f8844906335a3ad8b1dc0f2924e527
Latest merge is at https://github.com/easel/xmlsec1/commit/8b6e9721b886a38e90bf33b2c2762fe3232add6f
I was able to build it successfully using fedpkg mockbuild.
Also, as an aside, the easy workaround is just to install xmlsec1-devel since the missing .so files are packaged there pre-patch.
Given the amount of time this has sat here, I don't think anyone cares anymore...
Was good ammo for me to avoid libxml in a project...
xmlsec1-1.2.19-3.el6 has been submitted as an update for Fedora EPEL 6.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing xmlsec1-1.2.19-3.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
xmlsec1-1.2.19-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.