-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding dependecy on other fuse tab #6
Comments
I have no time to checkout whole code of https://github.com/macos-fuse-t/sshfs and https://github.com/osxfuse/sshfs . So, I think check out all of macfuse components before adding dependency. Same as these formulas.
|
$ ext4fuse --help
dyld[7824]: Library not loaded: '/usr/local/lib/libfuse.2.dylib'
Referenced from: '/opt/homebrew/Cellar/ext4fuse-mac/0.1.3/bin/ext4fuse'
Reason: tried: '/libfuse.2.dylib' (no such file), '/usr/local/lib/libfuse.2.dylib' (no such file), '/usr/lib/libfuse.2.dylib' (no such file)
fish: Job 1, 'ext4fuse --help' terminated by signal SIGABRT (Abort)
$ cd /usr/local/lib
$ ln -s libfuse-t-1.0.0.a libfuse.2.a
$ ln -s libfuse-t-1.0.2.dylib libfuse.2.dylib
$ ext4fuse --help
Version: 3.3.9-168-g5ed2e8642
Usage: ext4fuse <disk> <mountpoint> I think just sym-linking libfuse-t to libfuse works. |
I saw you change linking options on make file. If just it only matters, adding symbolic link on |
Hmm. Following up on this and #8 — what if fuse-t was distributed as a framework that could be embedded in an FS bundle? That would simplify things at least somewhat. |
I don't think a framework distribution is possible because fuse-t comes with a server and not only shared library. |
Many Apple frameworks contain servers or support processes. They would go in Resources or SharedSupport inside the .framework and would be started as needed by the library (I’m assuming that’s how the server is currently being started). Not having files in |
Interesting, I will look into it |
You should be able to use RPATH or a similar mechanism to identify the base path of the library and use relative paths to locate the server executable. Python and Mono are some of the larger projects that are distributed as frameworks containing executables but they’re not the only ones. |
@macos-fuse-t have you had a chance to look into this possibility? My main interest here is in the context of https://github.com/thejoelpatrol/fusehfs and the related FuseMFS. It would be nice to only have to distribute a .fs bundle with everything self-contained and nothing else needing to be system-installed. |
It requires some work to package properly. I'll take a look at it next month. |
@macos-fuse-t any updates on this? It would be nice to embed the library and server in the FS bundle, at least for the open source filesystems such as FuseHFS. |
Yes, it's on my TODO list, will try to allocate time for that. |
Try this pre-release which adds a framework in /Library/Frameworks/fuse_t.framework |
Slightly similar |
Try doing or similar. |
Thx for #3 issue.
Most macfuse users used this homebrew tab
https://github.com/gromgit/homebrew-fuse
And using this tab, macfuse users easily add few fses.
e.g. https://github.com/s3fs-fuse/s3fs-fuse#installation
but, if I use macos-fuse-t, error occured.
I opened Issus on gromgit/homebrew-fuse#41 and could you check out dependency and Interoperability of macfuse formula?
The text was updated successfully, but these errors were encountered: