Skip to content
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

Don't know how to build a static bindfs executable #152

Open
nukemiko opened this issue Jan 20, 2024 · 1 comment
Open

Don't know how to build a static bindfs executable #152

nukemiko opened this issue Jan 20, 2024 · 1 comment
Labels

Comments

@nukemiko
Copy link

I tried:

$ > cd bindfs-1.17.6
$ > mkdir build && cd build
$ > CFLAGS='-static' CPPFLAGS='-static' LDFLAGS='-static' ./configure --enable-shared=no --enable-static=yes --prefix /usr --with-fuse3
...
$ > CFLAGS='-static' CPPFLAGS='-static' LDFLAGS='-static' make
...
$ > CFLAGS='-static' CPPFLAGS='-static' LDFLAGS='-static' make DESTDIR="$PWD/dist" install
...
$ >

But I ended up with a dynamically linked bindfs executable. How can I make it actually build statically linked bindfs executable?

@mpartel
Copy link
Owner

mpartel commented Jan 20, 2024

No idea, sorry. However, bindfs should be a fairly ordinary autoconf/automake project, so whatever generic instructions you find for them should be applicable.

I don't know if there are any special pitfalls with statically linking libfuse or libfuse3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants