Description
Hi All,
I have installed libarchive using pip on Mac OS 10.11.6.
My Code:
import libarchive.public
When I run this I get this error
Traceback (most recent call last):
File "Test.py", line 1, in
import libarchive.public
File "/Library/Python/2.7/site-packages/libarchive/public.py", line 1, in
from libarchive.adapters.archive_read import
File "/Library/Python/2.7/site-packages/libarchive/adapters/archive_read.py", line 7, in
import libarchive.calls.archive_read
File "/Library/Python/2.7/site-packages/libarchive/calls/archive_read.py", line 17, in
c_archive_read_support_filter_all = libarchive.archive_read_support_filter_all
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py", line 378, in getattr
func = self.getitem(name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py", line 383, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(0x7fb1d1e47f60, archive_read_support_filter_all): symbol not found
I have installed libarchive also using brew.
Is this library supported on Mac ?