On Mon, May 27, 2024 at 1:11 PM Roland Mainz <roland.ma...@nrubsig.org> wrote: > I tried to install Cygwin on a network share using the UNC path name > (e.g. \\derfwnb4966_ipv4@2049\nfs4\storagetek\cygwintest001\), but got > this response: "The install directory must be absolute, with both a > drive letter and leading slash, like C:\Cygwin" ... > ... is it possible to remove this restriction, so Cygwin can be > installed into UNC paths, please ?
Quick&dirty workaround: $ subst W: '\\derfwnb4966_ipv4@2049\nfs4\storagetek\cygwintest001\' # ... ... but then all hell breaks loose: --------- snip -------- # Cygwin version globally installed in C:\cygwin64 is "3.6.0-0.115.g579064bf4d40.x86_64" # Cygwin version installed in W:\ is 3.5.3-release $ (export PATH=$PWD/bin ; ldd ./bin/file --help) 1 [main] ldd (9340) \\derfwnb4966_ipv4@2049\nfs4\storagetek\cygwintest001\bin\ldd.exe: *** fatal error - fhandler size mismatch detected - 0x290/0x288. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. $ ldd ./bin/file ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffb59ef0000) KERNEL32.DLL => /cygdrive/c/Windows/System32/KERNEL32.DLL (0x7ffb595d0000) KERNELBASE.dll => /cygdrive/c/Windows/System32/KERNELBASE.dll (0x7ffb57a90000) cygmagic-1.dll => //derfwnb4966_ipv4@2049/nfs4/storagetek/cygwintest001/bin/cygmagic-1.dll (0x4d9220000) cygwin1.dll => //derfwnb4966_ipv4@2049/nfs4/storagetek/cygwintest001/bin/cygwin1.dll (0x7ffb39240000) cyglzma-5.dll => //derfwnb4966_ipv4@2049/nfs4/storagetek/cygwintest001/bin/cyglzma-5.dll (0x593420000) cygbz2-1.dll => //derfwnb4966_ipv4@2049/nfs4/storagetek/cygwintest001/bin/cygbz2-1.dll (0x5bd7a0000) cygz.dll => //derfwnb4966_ipv4@2049/nfs4/storagetek/cygwintest001/bin/cygz.dll (0x597fd0000) cygzstd-1.dll => //derfwnb4966_ipv4@2049/nfs4/storagetek/cygwintest001/bin/cygzstd-1.dll (0x5d5150000) --------- snip -------- Looking at |get_cygwin_startup_info()| - is it possible that somehow the cygwin1.dll from Cygwin 3.5.3 and Cygwin 3.6 get mixed ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- 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