Comments (8)
Please run the failing tests individually and post the output.
Please be aware that I have no Mac on which test what's happening.
from perl6-archive-libarchive.
It can't install the A::L::R module:
prove6 --lib -v t/02-list.rakutest [±devel ✓]
Cannot locate native library 'libarchive.13.dylib': dlopen(libarchive.13.dylib, 0x000A): tried: 'libarchive.13.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibarchive.13.dylib' (no such file), '//Users/steve/.rakubrew/versions/moar-2022.07/install/lib/libarchive.13.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS//Users/steve/.rakubrew/versions/moar-2022.07/install/lib/libarchive.13.dylib' (no such file), '//Users/steve/.rakubrew/versions/moar-2022.07/install/lib/libarchive.13.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS//Users/steve/.rakubrew/versions/moar-2022.07/install/lib/libarchive.13.dylib' (no such file), '/usr/lib/libarchive.13.dylib' (no such file, not in dyld cache), 'libarchive.13.dylib' (no such file), '/usr/local/lib/libarchive.13.dylib' (no such file), '/usr/lib/libarchive.13.dylib' (no such file, not in dyld cache)
in method setup at /Users/steve/.rakubrew/versions/moar-2022.07/install/share/perl6/core/sources/A37F26876B58371B70EDD889AD69F064C90AC2C6 (NativeCall) line 319
in method setup at /Users/steve/.rakubrew/versions/moar-2022.07/install/share/perl6/core/sources/A37F26876B58371B70EDD889AD69F064C90AC2C6 (NativeCall) line 366
in sub raku-nativecall at /Users/steve/.rakubrew/versions/moar-2022.07/install/share/perl6/core/sources/A153F63283BF744FD66BF7212910E5F389384F6E (NativeCall::Dispatcher) line 46
in block <unit> at t/02-list.rakutest line 8
Missing libraries.
from perl6-archive-libarchive.
Probably need to download the headers as suggested at https://tvc-16.science/homebrew-libarchive.html to get it to work.
from perl6-archive-libarchive.
No, the problem is not the lack of header files, rather the lack of the C library itself. The error you're reporting is:
Cannot locate native library 'libarchive.13.dylib'
which indicates that libarchive.13.dylib is not there, or that it's an older version.
from perl6-archive-libarchive.
Not sure why that would be. I have libarchive installed via the brew package manager: https://formulae.brew.sh/formula/libarchive
from perl6-archive-libarchive.
Appears to be installed:
> $ find . -name 'libarchive*'
find: ./sbin/authserver: Permission denied
./local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libarchive.rb
./local/var/homebrew/locks/libarchive.formula.lock
./local/opt/libarchive
./local/Cellar/libarchive
./local/Cellar/libarchive/3.6.2/.brew/libarchive.rb
./local/Cellar/libarchive/3.6.2/lib/pkgconfig/libarchive.pc
./local/Cellar/libarchive/3.6.2/lib/libarchive.dylib
./local/Cellar/libarchive/3.6.2/lib/libarchive.a
./local/Cellar/libarchive/3.6.2/lib/libarchive.13.dylib
./local/Cellar/libarchive/3.6.2/share/man/man5/libarchive-formats.5
./local/Cellar/libarchive/3.6.2/share/man/man3/libarchive_changes.3
./local/Cellar/libarchive/3.6.2/share/man/man3/libarchive.3
./local/Cellar/libarchive/3.6.2/share/man/man3/libarchive_internals.3
./share/man/man5/libarchive-formats.5
from perl6-archive-libarchive.
This guy has an answer here: https://stackoverflow.com/a/69671704/1641112
from perl6-archive-libarchive.
OK, after doing ln -s /usr/local/opt/libarchive/lib/libarchive.13.dylib /usr/local/lib/
per suggestion in SO answer above, it installed.
from perl6-archive-libarchive.
Related Issues (12)
- Unable to install with zef or Panda HOT 3
- Pathname too long HOT 3
- Symlinks support HOT 4
- Archive not being written to CWD HOT 2
- Best way to get the filetype of an entry in an archive? HOT 1
- Things don't work out with format `tar` and filters `none` HOT 3
- Segfault when extracting HOT 5
- [Feature Request] Extract to a particular directory HOT 4
- Is there a method/example to read the content of each entry in the archive? HOT 3
- Error 90: No such entry found HOT 3
- Example for stripping leading directories HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perl6-archive-libarchive.