Skip to content

import xmlsec causes error #48

Closed
Closed
@mosasiru

Description

@mosasiru

I installed python-xmlsec 1.0.5 with pip. (imported by python3-saml).
import xmlsec causes below error.

Python 3.5.2 (default, Mar  7 2017, 17:22:35)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import xmlsec
func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=445:obj=unknown:subj=crypto != NULL:error=100:assertion:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: null argument to internal routine

OS: Amazon Linux 2016.09
python 3.5.2.
installed package is below.

$ yum list | grep libxml
libxml2.x86_64                         2.9.1-6.3.49.amzn1           installed
libxml2-devel.x86_64                   2.9.1-6.3.49.amzn1           @amzn-main
libxml2-python27.x86_64                2.9.1-6.3.49.amzn1           installed
libxml++.i686                          2.30.0-1.el6                 epel
libxml++.x86_64                        2.30.0-1.el6                 epel
libxml++-devel.i686                    2.30.0-1.el6                 epel
libxml++-devel.x86_64                  2.30.0-1.el6                 epel
libxml2.i686                           2.9.1-6.3.49.amzn1           amzn-main
libxml2-python26.x86_64                2.9.1-6.3.49.amzn1           amzn-main
libxml2-static.x86_64                  2.9.1-6.3.49.amzn1           amzn-main
nodejs-libxmljs.x86_64                 0.8.1-3.el6                  epel
perl-libxml-perl.noarch                0.08-19.8.amzn1              amzn-main
$ yum list | grep xmlsec
xmlsec1.x86_64                         1.2.20-5.2.amzn1             @amzn-updates
xmlsec1-devel.x86_64                   1.2.20-5.2.amzn1             @amzn-updates
xmlsec1-gcrypt.x86_64                  1.2.20-5.2.amzn1             @amzn-updates
xmlsec1-gcrypt-devel.x86_64            1.2.20-5.2.amzn1             @amzn-updates
xmlsec1-gnutls.x86_64                  1.2.20-5.2.amzn1             @amzn-updates
xmlsec1-gnutls-devel.x86_64            1.2.20-5.2.amzn1             @amzn-updates
xmlsec1-openssl.x86_64                 1.2.20-5.2.amzn1             @amzn-updates
xmlsec1-openssl-devel.x86_64           1.2.20-5.2.amzn1             @amzn-updates
php-robrichards-xmlseclibs.noarch      2.0.1-1.el6                  epel
php-robrichards-xmlseclibs1.noarch     1.4.2-1.el6                  epel
php-xmlseclibs.noarch                  1.3.1-3.el6                  epel
pyxmlsec.x86_64                        0.3.0-6.el6                  epel
xmlsec1.i686                           1.2.20-5.2.amzn1             amzn-updates
xmlsec1-gcrypt.i686                    1.2.20-5.2.amzn1             amzn-updates
xmlsec1-gnutls.i686                    1.2.20-5.2.amzn1             amzn-updates
xmlsec1-nss.i686                       1.2.20-5.2.amzn1             amzn-updates
xmlsec1-nss.x86_64                     1.2.20-5.2.amzn1             amzn-updates
xmlsec1-nss-devel.x86_64               1.2.20-5.2.amzn1             amzn-updates
xmlsec1-openssl.i686                   1.2.20-5.2.amzn1             amzn-updates

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions