cygwin1.dll not available error when installing Cygwin












2














I am unable to make Cygwin work properly.



After download the Cygwin setup files (either the 32-bit version setup-x86.exe or the 64-bit version setup-x86_64.exe) from the Cygwin website, I ran it to install Cygwin on my 64-bit Windows 7.



I chose the installation directory, the directory where to download the packages, and one mirror server. Cygwin created the directory succesfully, downloaded the package list and displayed the package selection screen.



I just clicked Next to advance using the default selection, and Cygwin showed me the list of packages to be installed. Then, it downloaded all packages and started to install them.



Then it started displaying several times the well-known error message:




The program can't start because cygwin1.dll is missing from your computer. Try reinstalling the program to fix this problem.




This happens when some of the default packages try to run dash.exe or bash.exe to configure themselves.



Some Googling suggested:




  1. Reinstalling Cygwin choosing only the base packages. Since I had chosen no packages to be installed, this was already the "minimal" setting;

  2. Adding Cygwin's bin directory to the PATH environment variable. Unfortunately the cygwin1.dll was never downloaded/installed, so even doing this didn't help.


The cygwin1.dll file is not available for direct download from the Cygwin website (at least not visible from the Installation page).



How can I fix this basic installation?










share|improve this question


















  • 1




    I added this self-answered question because I spent more than one hour trying to find the cause of the error, so I wanted to help others. Note that the answer to this seemingly related question does not help at all here, since the cygwin1.dll file does not exist yet. Also, some people suggest using cygcheck to find which package contains a file, but without being able to launch mintty, one cannot easily run cygcheck either. I'd appreciate if downvoters would argue why they believe the question is not useful, or shows no research effort.
    – anol
    Jan 25 '16 at 13:12












  • Same for me. I also lost a lot of time yesterday on this, since all other Q/A suggest that it is just a path issue. But I can confirm: By default the installer did not install a cygwin1.dll anywhere. So thanks a lot for sharing, your answer solved the problem for me as well.
    – bluenote10
    Jan 26 '16 at 18:06
















2














I am unable to make Cygwin work properly.



After download the Cygwin setup files (either the 32-bit version setup-x86.exe or the 64-bit version setup-x86_64.exe) from the Cygwin website, I ran it to install Cygwin on my 64-bit Windows 7.



I chose the installation directory, the directory where to download the packages, and one mirror server. Cygwin created the directory succesfully, downloaded the package list and displayed the package selection screen.



I just clicked Next to advance using the default selection, and Cygwin showed me the list of packages to be installed. Then, it downloaded all packages and started to install them.



Then it started displaying several times the well-known error message:




The program can't start because cygwin1.dll is missing from your computer. Try reinstalling the program to fix this problem.




This happens when some of the default packages try to run dash.exe or bash.exe to configure themselves.



Some Googling suggested:




  1. Reinstalling Cygwin choosing only the base packages. Since I had chosen no packages to be installed, this was already the "minimal" setting;

  2. Adding Cygwin's bin directory to the PATH environment variable. Unfortunately the cygwin1.dll was never downloaded/installed, so even doing this didn't help.


The cygwin1.dll file is not available for direct download from the Cygwin website (at least not visible from the Installation page).



How can I fix this basic installation?










share|improve this question


















  • 1




    I added this self-answered question because I spent more than one hour trying to find the cause of the error, so I wanted to help others. Note that the answer to this seemingly related question does not help at all here, since the cygwin1.dll file does not exist yet. Also, some people suggest using cygcheck to find which package contains a file, but without being able to launch mintty, one cannot easily run cygcheck either. I'd appreciate if downvoters would argue why they believe the question is not useful, or shows no research effort.
    – anol
    Jan 25 '16 at 13:12












  • Same for me. I also lost a lot of time yesterday on this, since all other Q/A suggest that it is just a path issue. But I can confirm: By default the installer did not install a cygwin1.dll anywhere. So thanks a lot for sharing, your answer solved the problem for me as well.
    – bluenote10
    Jan 26 '16 at 18:06














2












2








2







I am unable to make Cygwin work properly.



After download the Cygwin setup files (either the 32-bit version setup-x86.exe or the 64-bit version setup-x86_64.exe) from the Cygwin website, I ran it to install Cygwin on my 64-bit Windows 7.



I chose the installation directory, the directory where to download the packages, and one mirror server. Cygwin created the directory succesfully, downloaded the package list and displayed the package selection screen.



I just clicked Next to advance using the default selection, and Cygwin showed me the list of packages to be installed. Then, it downloaded all packages and started to install them.



Then it started displaying several times the well-known error message:




The program can't start because cygwin1.dll is missing from your computer. Try reinstalling the program to fix this problem.




This happens when some of the default packages try to run dash.exe or bash.exe to configure themselves.



Some Googling suggested:




  1. Reinstalling Cygwin choosing only the base packages. Since I had chosen no packages to be installed, this was already the "minimal" setting;

  2. Adding Cygwin's bin directory to the PATH environment variable. Unfortunately the cygwin1.dll was never downloaded/installed, so even doing this didn't help.


The cygwin1.dll file is not available for direct download from the Cygwin website (at least not visible from the Installation page).



How can I fix this basic installation?










share|improve this question













I am unable to make Cygwin work properly.



After download the Cygwin setup files (either the 32-bit version setup-x86.exe or the 64-bit version setup-x86_64.exe) from the Cygwin website, I ran it to install Cygwin on my 64-bit Windows 7.



I chose the installation directory, the directory where to download the packages, and one mirror server. Cygwin created the directory succesfully, downloaded the package list and displayed the package selection screen.



I just clicked Next to advance using the default selection, and Cygwin showed me the list of packages to be installed. Then, it downloaded all packages and started to install them.



Then it started displaying several times the well-known error message:




The program can't start because cygwin1.dll is missing from your computer. Try reinstalling the program to fix this problem.




This happens when some of the default packages try to run dash.exe or bash.exe to configure themselves.



Some Googling suggested:




  1. Reinstalling Cygwin choosing only the base packages. Since I had chosen no packages to be installed, this was already the "minimal" setting;

  2. Adding Cygwin's bin directory to the PATH environment variable. Unfortunately the cygwin1.dll was never downloaded/installed, so even doing this didn't help.


The cygwin1.dll file is not available for direct download from the Cygwin website (at least not visible from the Installation page).



How can I fix this basic installation?







cygwin






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 25 '16 at 0:04









anol

7661725




7661725








  • 1




    I added this self-answered question because I spent more than one hour trying to find the cause of the error, so I wanted to help others. Note that the answer to this seemingly related question does not help at all here, since the cygwin1.dll file does not exist yet. Also, some people suggest using cygcheck to find which package contains a file, but without being able to launch mintty, one cannot easily run cygcheck either. I'd appreciate if downvoters would argue why they believe the question is not useful, or shows no research effort.
    – anol
    Jan 25 '16 at 13:12












  • Same for me. I also lost a lot of time yesterday on this, since all other Q/A suggest that it is just a path issue. But I can confirm: By default the installer did not install a cygwin1.dll anywhere. So thanks a lot for sharing, your answer solved the problem for me as well.
    – bluenote10
    Jan 26 '16 at 18:06














  • 1




    I added this self-answered question because I spent more than one hour trying to find the cause of the error, so I wanted to help others. Note that the answer to this seemingly related question does not help at all here, since the cygwin1.dll file does not exist yet. Also, some people suggest using cygcheck to find which package contains a file, but without being able to launch mintty, one cannot easily run cygcheck either. I'd appreciate if downvoters would argue why they believe the question is not useful, or shows no research effort.
    – anol
    Jan 25 '16 at 13:12












  • Same for me. I also lost a lot of time yesterday on this, since all other Q/A suggest that it is just a path issue. But I can confirm: By default the installer did not install a cygwin1.dll anywhere. So thanks a lot for sharing, your answer solved the problem for me as well.
    – bluenote10
    Jan 26 '16 at 18:06








1




1




I added this self-answered question because I spent more than one hour trying to find the cause of the error, so I wanted to help others. Note that the answer to this seemingly related question does not help at all here, since the cygwin1.dll file does not exist yet. Also, some people suggest using cygcheck to find which package contains a file, but without being able to launch mintty, one cannot easily run cygcheck either. I'd appreciate if downvoters would argue why they believe the question is not useful, or shows no research effort.
– anol
Jan 25 '16 at 13:12






I added this self-answered question because I spent more than one hour trying to find the cause of the error, so I wanted to help others. Note that the answer to this seemingly related question does not help at all here, since the cygwin1.dll file does not exist yet. Also, some people suggest using cygcheck to find which package contains a file, but without being able to launch mintty, one cannot easily run cygcheck either. I'd appreciate if downvoters would argue why they believe the question is not useful, or shows no research effort.
– anol
Jan 25 '16 at 13:12














Same for me. I also lost a lot of time yesterday on this, since all other Q/A suggest that it is just a path issue. But I can confirm: By default the installer did not install a cygwin1.dll anywhere. So thanks a lot for sharing, your answer solved the problem for me as well.
– bluenote10
Jan 26 '16 at 18:06




Same for me. I also lost a lot of time yesterday on this, since all other Q/A suggest that it is just a path issue. But I can confirm: By default the installer did not install a cygwin1.dll anywhere. So thanks a lot for sharing, your answer solved the problem for me as well.
– bluenote10
Jan 26 '16 at 18:06










1 Answer
1






active

oldest

votes


















4














It turns out that, for some reason, the package cygwin itself (which seems to contain the dreaded cygwin1.dll) was not selected by default, or some installation mishap happened the first time and it could not be installed until after some of the errors appeared.



After selecting the cygwin package for installation, and adding the bin directory of Cygwin to the PATH, only then I was able to install the other packages and run the Cygwin shell.



I find it odd that none of the first results in Google seemed to suggest this possibility (adding a package to be installed). It happened when trying to install both the 32-bit Cygwin and the 64-bit Cygwin. For those reasons I added this question to SU, hoping it may help someone.






share|improve this answer





















  • cygwin package is installed by default like all the other packages in "Base" category. I expected a deliberate effort is needed to force setup to not install it.
    – matzeri
    Feb 11 '16 at 21:27











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1030809%2fcygwin1-dll-not-available-error-when-installing-cygwin%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














It turns out that, for some reason, the package cygwin itself (which seems to contain the dreaded cygwin1.dll) was not selected by default, or some installation mishap happened the first time and it could not be installed until after some of the errors appeared.



After selecting the cygwin package for installation, and adding the bin directory of Cygwin to the PATH, only then I was able to install the other packages and run the Cygwin shell.



I find it odd that none of the first results in Google seemed to suggest this possibility (adding a package to be installed). It happened when trying to install both the 32-bit Cygwin and the 64-bit Cygwin. For those reasons I added this question to SU, hoping it may help someone.






share|improve this answer





















  • cygwin package is installed by default like all the other packages in "Base" category. I expected a deliberate effort is needed to force setup to not install it.
    – matzeri
    Feb 11 '16 at 21:27
















4














It turns out that, for some reason, the package cygwin itself (which seems to contain the dreaded cygwin1.dll) was not selected by default, or some installation mishap happened the first time and it could not be installed until after some of the errors appeared.



After selecting the cygwin package for installation, and adding the bin directory of Cygwin to the PATH, only then I was able to install the other packages and run the Cygwin shell.



I find it odd that none of the first results in Google seemed to suggest this possibility (adding a package to be installed). It happened when trying to install both the 32-bit Cygwin and the 64-bit Cygwin. For those reasons I added this question to SU, hoping it may help someone.






share|improve this answer





















  • cygwin package is installed by default like all the other packages in "Base" category. I expected a deliberate effort is needed to force setup to not install it.
    – matzeri
    Feb 11 '16 at 21:27














4












4








4






It turns out that, for some reason, the package cygwin itself (which seems to contain the dreaded cygwin1.dll) was not selected by default, or some installation mishap happened the first time and it could not be installed until after some of the errors appeared.



After selecting the cygwin package for installation, and adding the bin directory of Cygwin to the PATH, only then I was able to install the other packages and run the Cygwin shell.



I find it odd that none of the first results in Google seemed to suggest this possibility (adding a package to be installed). It happened when trying to install both the 32-bit Cygwin and the 64-bit Cygwin. For those reasons I added this question to SU, hoping it may help someone.






share|improve this answer












It turns out that, for some reason, the package cygwin itself (which seems to contain the dreaded cygwin1.dll) was not selected by default, or some installation mishap happened the first time and it could not be installed until after some of the errors appeared.



After selecting the cygwin package for installation, and adding the bin directory of Cygwin to the PATH, only then I was able to install the other packages and run the Cygwin shell.



I find it odd that none of the first results in Google seemed to suggest this possibility (adding a package to be installed). It happened when trying to install both the 32-bit Cygwin and the 64-bit Cygwin. For those reasons I added this question to SU, hoping it may help someone.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 25 '16 at 0:04









anol

7661725




7661725












  • cygwin package is installed by default like all the other packages in "Base" category. I expected a deliberate effort is needed to force setup to not install it.
    – matzeri
    Feb 11 '16 at 21:27


















  • cygwin package is installed by default like all the other packages in "Base" category. I expected a deliberate effort is needed to force setup to not install it.
    – matzeri
    Feb 11 '16 at 21:27
















cygwin package is installed by default like all the other packages in "Base" category. I expected a deliberate effort is needed to force setup to not install it.
– matzeri
Feb 11 '16 at 21:27




cygwin package is installed by default like all the other packages in "Base" category. I expected a deliberate effort is needed to force setup to not install it.
– matzeri
Feb 11 '16 at 21:27


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1030809%2fcygwin1-dll-not-available-error-when-installing-cygwin%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Сан-Квентин

8-я гвардейская общевойсковая армия

Алькесар