[MacPorts] #63019: macfuse @4.1.2_0 / sshfs @2.10_1: dyld: Library not loaded: /opt/local/lib/libfuse.2.dylib
MacPorts
noreply at macports.org
Thu Jun 3 18:09:24 UTC 2021
#63019: macfuse @4.1.2_0 / sshfs @2.10_1: dyld: Library not loaded:
/opt/local/lib/libfuse.2.dylib
----------------------+--------------------
Reporter: vidakris | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: bigsur | Port:
----------------------+--------------------
I'm trying to use sshfs and encfs, which both depend on macfuse. Macfuse
has the following install notes:
{{{
macfuse has the following notes:
Run the following before using macFUSE:
sudo ln -sn /opt/local/Library/Filesystems/macfuse.fs
/Library/Filesystems/macfuse.fs
sudo
/Library/Filesystems/macfuse.fs/Contents/Resources/load_macfuse
}}}
both commands ran fine (after some wizardry with enabling non-standard
kernel extensions), however, (ssh|enc)fs give now:
{{{
$ sshfs
dyld: Library not loaded: /opt/local/lib/libfuse.2.dylib
Referenced from: /opt/local/bin/sshfs
Reason: no suitable image found. Did find:
/opt/local/lib/libfuse.2.dylib: code signature in
(/opt/local/lib/libfuse.2.dylib) not valid for use in process using
Library Validation: Trying to load an unsigned library
/opt/local/lib/libfuse.2.dylib: stat() failed with errno=1
/usr/local/lib/libfuse.2.dylib: no matching architecture in
universal wrapper
/usr/local/lib/libfuse.2.dylib: no matching architecture in
universal wrapper
/opt/local/lib/libfuse.2.dylib: code signature in
(/opt/local/lib/libfuse.2.dylib) not valid for use in process using
Library Validation: Trying to load an unsigned library
Abort trap: 6
}}}
A workaround to get *fs working is to {{{port clean}}} the existing
packages, install macfuse/osxfuse from the project webpage (
https://github.com/osxfuse/osxfuse/releases ), reinstall macfuse to have
{{{port}}} dependencies fixed, but _not_ create the symlink to /Library,
but that's nasty.
--
Ticket URL: <https://trac.macports.org/ticket/63019>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list