Skip to content

installation fails on fresh 21.10 w/ "liblibarchive.so not found", both pip-repo as well as git+https from here #50

@toasta

Description

@toasta

Hi,

installing on ubuntu 21.10 fails with some weird doubled "liblibarchive.so" error.
Happens both for the version from pip as well as directly from github:

    ERROR: Command errored out with exit status 1:
     command: /home/bf/eth/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-acvpa_1f/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-acvpa_1f/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-ud_9jj8l/install-record.txt --single-version-externally-managed --compile --install-headers /home/bf/eth/venv/include/site/python3.9/libarchive
         cwd: /tmp/pip-req-build-acvpa_1f/
    Complete output (4 lines):
    running install
    Verifying that the library is accessible.
    Library can not be loaded: [Errno 2] No such file or directory: b'liblibarchive.a'
    error: [Errno 2] No such file or directory: b'liblibarchive.a'
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/bf/eth/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-acvpa_1f/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-acvpa_1f/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-ud_9jj8l/install-record.txt --single-version-externally-managed --compile --install-headers /home/bf/eth/venv/include/site/python3.9/libarchive Check the logs for full command output.

(note the double "lib" in "liblibarchive".
libarchive.so
is installed:

 find / -xdev 2> /dev/null | grep -i libarchive.so
/usr/lib/x86_64-linux-gnu/libarchive.so.13
/usr/lib/x86_64-linux-gnu/libarchive.so.13.4.3
/usr/lib/x86_64-linux-gnu/libarchive.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions