On 4/22/2025 8:50 PM, David Christensen via Cygwin wrote:
On 4/22/25 20:35, Mark Geisert via Cygwin wrote:
On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote:
2025-04-22 20:07:20 admin@dq67sw ~
$ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist

2025-04-22 20:07:38 admin@dq67sw ~
$ echo $?
127

The 127 exit code indicates sshfs itself is missing a run-time library; it's not even running far enough to process the options you're trying.

What does 'ldd /usr/bin/sshfs.exe' output?  On my system it looks like

ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7fffb89d0000)
KERNEL32.DLL => /c/Windows/System32/KERNEL32.DLL (0x7fffb8460000)
KERNELBASE.dll => /c/Windows/System32/KERNELBASE.dll (0x7fffb6100000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x7fffa7f60000)
cygglib-2.0-0.dll => /usr/bin/cygglib-2.0-0.dll (0x507860000)
cygfuse-3.2.dll => /usr/bin/cygfuse-3.2.dll (0x3e5fb0000)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3cba60000)
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x5ee2d0000)
cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x50caa0000)
cygpcre2-8-0.dll => /usr/bin/cygpcre2-8-0.dll (0x453a70000)

..mark


2025-04-22 20:48:20 admin@dq67sw ~
$ ldd /usr/bin/sshfs.exe
     ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffea5a90000)
    KERNEL32.DLL => /cygdrive/c/Windows/System32/KERNEL32.DLL (0x7ffea4f90000)     KERNELBASE.dll => /cygdrive/c/Windows/System32/KERNELBASE.dll (0x7ffea3430000)
     cygwin1.dll => /usr/bin/cygwin1.dll (0x7ffe93f10000)
     cygfuse-3.2.dll => /usr/bin/cygfuse-3.2.dll (0x44e0a0000)
     cygglib-2.0-0.dll => /usr/bin/cygglib-2.0-0.dll (0x507860000)


Now we're getting somewhere! One or more of the following packages are missing from your Cygwin system. Use the Cygwin Setup program to add them if not already installed:
    libiconv2
    libintl8
    libgcc1 (you likely already have this)
    libpcre2_8_0
That should help. Let us know what you were missing. That will allow us to update the required packages list for sshfs to avoid this problem in the future. Sorry for the inconvenience.

..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