Installing huber using cargo fails, complaining about missing libarchive, despite it being installed.
To Reproduce
System:
Ubuntu 22.04.1 LTS
rustc 1.65.0 (897e37553 2022-11-02)
rustup 1.25.1 (bb60b1e89 2022-07-12)
I installed the dependencies:
$ sudo apt install libssl-dev libarchive-dev
[sudo] password for duncan:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libssl-dev is already the newest version (3.0.2-0ubuntu1.7).
The following NEW packages will be installed:
libarchive-dev
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 581 kB of archives.
After this operation, 2,195 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 libarchive-dev amd64 3.6.0-1ubuntu1 [581 kB]
Fetched 581 kB in 1s (677 kB/s)
Selecting previously unselected package libarchive-dev:amd64.
(Reading database ... 1116613 files and directories currently installed.)
Preparing to unpack .../libarchive-dev_3.6.0-1ubuntu1_amd64.deb ...
Unpacking libarchive-dev:amd64 (3.6.0-1ubuntu1) ...
Setting up libarchive-dev:amd64 (3.6.0-1ubuntu1) ...
Processing triggers for man-db (2.10.2-1) ...
I then tried to install huber using cargo, which failed:
Describe the bug
Installing huber using cargo fails, complaining about missing libarchive, despite it being installed.
To Reproduce
System:
I installed the dependencies:
I then tried to install huber using cargo, which failed:
Expected behavior
Install via cargo should work.
Environment