Could not find xmlsec1 config. Are libxmlsec1-dev and pkg-config installed?
Asked Answered
A

1

13

This is happing especially on RHEL Already installed this packages yum install libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel

Could not find xmlsec1 config. Are libxmlsec1-dev and pkg-config installed


Command "/usr/local/pyenv/versions/3.6.5/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ucm4xpg5/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-gr0ttbdf/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ucm4xpg5/xmlsec/

Why I am getting this error Even though I installed the required packages

Arvind answered 10/8, 2018 at 23:20 Comment(3)
Please format code for readability. Also, you do not ask a specific question.Bourbon
Do you have pkg-config installed (like it says?)?Greiner
I have installed pkg-config still it is showing this ErrorArvind
O
45

For Debian

sudo apt-get install libxmlsec1-dev pkg-config

try this it will work!

For RHEL

sudo yum install xmlsec1-devel pkg-config

For MacOS

brew install Libxmlsec1
brew install pkg-config
Oscaroscillate answered 21/6, 2019 at 8:55 Comment(1)
I was having a problem installing xmlsec. Installed the libraries you've mentioned on MacOS part, and then installed xmlsec following this link: https://mcmap.net/q/530281/-error-could-not-build-wheels-for-bcrypt-which-use-pep-517-and-cannot-be-installed-directlyRoseannroseanna

© 2022 - 2024 — McMap. All rights reserved.