cygwin1.dll not available error when installing Cygwin
up vote
2
down vote
favorite
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:
- Reinstalling Cygwin choosing only the base packages. Since I had chosen no packages to be installed, this was already the "minimal" setting;
- Adding Cygwin's bindirectory to the PATH environment variable. Unfortunately thecygwin1.dllwas 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
add a comment |
up vote
2
down vote
favorite
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:
- Reinstalling Cygwin choosing only the base packages. Since I had chosen no packages to be installed, this was already the "minimal" setting;
- Adding Cygwin's bindirectory to the PATH environment variable. Unfortunately thecygwin1.dllwas 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
 
 
 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.dllfile does not exist yet. Also, some people suggest using- cygcheckto find which package contains a file, but without being able to launch- mintty, one cannot easily run- cygcheckeither. 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.dllanywhere. So thanks a lot for sharing, your answer solved the problem for me as well.
 – bluenote10
 Jan 26 '16 at 18:06
 
 
 
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
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:
- Reinstalling Cygwin choosing only the base packages. Since I had chosen no packages to be installed, this was already the "minimal" setting;
- Adding Cygwin's bindirectory to the PATH environment variable. Unfortunately thecygwin1.dllwas 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
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:
- Reinstalling Cygwin choosing only the base packages. Since I had chosen no packages to be installed, this was already the "minimal" setting;
- Adding Cygwin's bindirectory to the PATH environment variable. Unfortunately thecygwin1.dllwas 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
cygwin
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.dllfile does not exist yet. Also, some people suggest using- cygcheckto find which package contains a file, but without being able to launch- mintty, one cannot easily run- cygcheckeither. 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.dllanywhere. So thanks a lot for sharing, your answer solved the problem for me as well.
 – bluenote10
 Jan 26 '16 at 18:06
 
 
 
add a comment |
 
 
 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.dllfile does not exist yet. Also, some people suggest using- cygcheckto find which package contains a file, but without being able to launch- mintty, one cannot easily run- cygcheckeither. 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.dllanywhere. 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
add a comment |
                                1 Answer
                                1
                        
active
oldest
votes
up vote
4
down vote
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.
 
 
 
 
 
 
 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
 
 
 
add a comment |
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',
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
up vote
4
down vote
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.
 
 
 
 
 
 
 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
 
 
 
add a comment |
up vote
4
down vote
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.
 
 
 
 
 
 
 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
 
 
 
add a comment |
up vote
4
down vote
up vote
4
down vote
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.
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.
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
 
 
 
add a comment |
 
 
 
 
 
 
 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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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.dllfile does not exist yet. Also, some people suggest usingcygcheckto find which package contains a file, but without being able to launchmintty, one cannot easily runcygcheckeither. 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.dllanywhere. So thanks a lot for sharing, your answer solved the problem for me as well.– bluenote10
Jan 26 '16 at 18:06