Closed bsergean closed 2 years ago
I ran into the same issue. setting LIBARCHIVE_PREFIX works, but I added some autodetect code to make it work on MacOSX. The code is in this repo: https://www.funkthat.com/gitea/jmg/python-libarchive, specifically this commit: https://www.funkthat.com/gitea/jmg/python-libarchive/commit/6d4fbd86fcc14c50a7460e77bf589c7ada94d76c
This is tested on 12.4 Monterey.
I actually can't remember at all why I needed that ... is it easy to make a pull request from your code change ? Or should we close this ticket and let your comment 'stand out' so people can use your workaround ?
As you can see, I created a PR for it.
The simple reason this is needed is that, at least for me, I have libarchive installed in /opt/local because of MacPorts, and the default configuration does not look there to link it.
Ah I see. Great, thanks for making this library better, I hope your PR will be merged.
This is fixed in 4.2.1