Hi David,

You did much more than what I asked you to, but we'll work with that.
Comments inlined and appended below...

On 4/28/2025 12:45 PM, David Christensen via Cygwin wrote:
On 4/27/25 21:19, Mark Geisert via Cygwin wrote:
That DLL is deficient. It is missing the cygfuse_report() entry despite cygcheck saying (in an earlier post) it is version 3.2.0-3. gendef in a working environment here starts with:
;
; Definition file of cygfuse-3.2.dll
; Automatic generated by gendef
; written by Kai Tietz 2008
;
LIBRARY "cygfuse-3.2.dll"
EXPORTS
__gcc_deregister_frame
__gcc_register_frame
cygfuse_report            <<--- here we are
fuse_apply_conn_info_opts
fuse_buf_copy

I would suggest to manually delete that DLL from /bin, and rerun the Cygwin Installer to reinstall cygfuse. Then use gendef again to verify "cygfuse_report" is present in its output. If it isn't, we have some kind of distribution issue that I'll need to consider. But hopefully
           ^^^^^^^^^^^^ packaging is what I meant

gendef will show that entry point.

A simple test after that would be "sshfs -h" before trying to mount something with sshfs.

To repeat, when you're at a point of testing sshfs, please test with
    sshfs -h
before trying anything else. It will point out any problems with your local setup without involving any other systems and their possible issues.


Thanks and with fingers crossed,

..mark

There was no need to reinstall Cygwin, but...

I tried to uninstall Cygwin per:

https://cygwin.fandom.com/wiki/Uninstalling_Cygwin


The instructions are partially incorrect.

Please use the Cygwin FAQ rather than some random site which may or may not be correct and/or up-to-date. In this specific case:
    https://cygwin.com/faq.html#faq.setup.uninstall-all
You can easily get to the FAQ from Cygwin's home page https://cygwin.com

I ran Cygwin64 Terminal, and stopped and removed Cygwin sshd:

2025-04-27 23:07:31 admin@dq67sw ~
$ cygrunsrv --stop cygsshd

2025-04-27 23:07:36 admin@dq67sw ~
$ cygrunsrv --remove cygsshd


I deleted the C:\cygwin64 directory.


I was unable to remove the Cygwin folder from the Start button apps menu.


https://www.makeuseof.com/windows-start-menu-add-remove-items/

Says:

"You can either display or remove all the items from this section. So,
there's no option for adding or removing just one specific thing.
However, you can remove particular apps from the "Most used" and
"Recently added" subsections."

Cygwin installations and updates are handled exclusively by the Cygwin Installer that you get from the Cygwin home page. Windows doesn't have a facility to remove Cygwin.

"cygwin" is not present in the "Path" environment variable.
There is no environment variable "CYGWIN".

Alright, you've uninstalled Cygwin.

I ran Cygwin setup-x86_64.exe version 2.933 and installed the default Cygwin system.


I ran Cygwin setup-x86_64.exe version 2.933 and installed the package sshfs 3.7.2-2.

OK.

I restarted Windows.

Not necessary, but in the spirit of an abundance of caution, OK.

When I run Cygwin64 Terminal and try to use sshfs:

admin@dq67sw ~
$ sshfs dpchrist@f5:/var/local/samba/dpchrist /samba
cygfuse: initialization failed: winfsp-x64.dll not found

Using the simple "sshfs -h" testcase mentioned above should have the same result. These straces below are not useful.

admin@dq67sw ~
$ strace sshfs dpchrist@f5:/var/local/samba/dpchrist /samba 2>&1 | wc
     342    3370   35142

admin@dq67sw ~
$ strace sshfs dpchrist@f5:/var/local/samba/dpchrist /samba 2>&1 | gzip -9 > strace-sshfs.gz


strace-sshfs.gz is attached.

Please don't compress attachments on emails to the Cygwin mailing list, just attach them.

Alright, here's where we stand. The "winfsp-x64.dll not found" is expected here because you haven't run WinFSP installer yet. Don't do that yet.

Please run the following from a Cygwin terminal window:
    gendef - /bin/cygfuse-3.2.dll
Please note the spaces before and after "-" in the above command.
You don't have to post the output; just make sure "cygfuse_report" appears near the top of that output.

If the test in the previous paragraph worked, then install WinFSP. You will see a button offering to install FUSE for Cygwin or something like that. DO NOT press that button. I think having pressed that last time is the root cause of the issues you've been seeing. I can explain after we get you working.

Just click through the WinFSP install and let it complete. Now go back to your Cygwin terminal window and do the test:
    sshfs -h
and see that you get a long list of sshfs option descriptions without any error messages.

If that worked, then do this before anything else:
    rm /var/run/fuse.mounts

Now try the sshfs command you've tried earlier and tell us what happens.

..mark

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to