Giter Site home page Giter Site logo

Comments (8)

frithnanth avatar frithnanth commented on September 27, 2024

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.

sdondley avatar sdondley commented on September 27, 2024

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.

sdondley avatar sdondley commented on September 27, 2024

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.

frithnanth avatar frithnanth commented on September 27, 2024

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.

sdondley avatar sdondley commented on September 27, 2024

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.

sdondley avatar sdondley commented on September 27, 2024

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.

sdondley avatar sdondley commented on September 27, 2024

This guy has an answer here: https://stackoverflow.com/a/69671704/1641112

from perl6-archive-libarchive.

sdondley avatar sdondley commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.