public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* The procedure entry point could not be located in cygwin1.dll
@ 2016-09-23 21:08 William Forsyth
  2016-09-23 22:35 ` Ken Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: William Forsyth @ 2016-09-23 21:08 UTC (permalink / raw)
  To: cygwin

I broke my win XP cygwin install such that bash fails to start.

I used Setup.exe version 2.870.

The install failed when trying to run the postinstall bash scripts.

After the install failure bash fails every time with:

The procedure entry point __locale_ctype_ptr could not be located in
the dynamic link library cygwin1.dll.


The install failed because it tried to install cygwin 2.6.0 which is
not compatible with winxp.


I reran Setup.exe to grab cygwin version 2.5.2-1 but the install still
fails with the same cygwin1.dll error.


Already tried to grab cygwin version 2.5.0 (which is the last known
good cygwin version that ran on my machine) from the time machine, but
I keep getting the same cygwin1.dll error.  Any ideas how to fix this.


Thank you

Will

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: The procedure entry point could not be located in cygwin1.dll
  2016-09-23 21:08 The procedure entry point could not be located in cygwin1.dll William Forsyth
@ 2016-09-23 22:35 ` Ken Brown
  2016-09-23 23:00 ` William Forsyth
  2016-09-23 23:12 ` Brian Inglis
  2 siblings, 0 replies; 4+ messages in thread
From: Ken Brown @ 2016-09-23 22:35 UTC (permalink / raw)
  To: cygwin

On 9/23/2016 4:50 PM, William Forsyth wrote:
> I broke my win XP cygwin install such that bash fails to start.
>
> I used Setup.exe version 2.870.
>
> The install failed when trying to run the postinstall bash scripts.
>
> After the install failure bash fails every time with:
>
> The procedure entry point __locale_ctype_ptr could not be located in
> the dynamic link library cygwin1.dll.
>
>
> The install failed because it tried to install cygwin 2.6.0 which is
> not compatible with winxp.
>
>
> I reran Setup.exe to grab cygwin version 2.5.2-1 but the install still
> fails with the same cygwin1.dll error.
>
>
> Already tried to grab cygwin version 2.5.0 (which is the last known
> good cygwin version that ran on my machine) from the time machine, but
> I keep getting the same cygwin1.dll error.  Any ideas how to fix this.

You probably have a version of bash that was built for cygwin-2.6.0. 
Try reverting bash to whatever release was current just before 
cygwin-2.6.0 was released.

Ken


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: The procedure entry point could not be located in cygwin1.dll
  2016-09-23 21:08 The procedure entry point could not be located in cygwin1.dll William Forsyth
  2016-09-23 22:35 ` Ken Brown
@ 2016-09-23 23:00 ` William Forsyth
  2016-09-23 23:12 ` Brian Inglis
  2 siblings, 0 replies; 4+ messages in thread
From: William Forsyth @ 2016-09-23 23:00 UTC (permalink / raw)
  To: cygwin

> I broke my win XP cygwin install such that bash fails to start.

Fixed it.  Dependency walker showed that my bash had a dependency to
ncurses, ncurses had the broken entry point dependancy into
cygwin1.dll.  So i just rolled back ncurses to the last version.  Also
had to roll back mintty for the same reason.  In the process of
rolling everything back that got updated by this last failed update.
Happy days.

> I used Setup.exe version 2.870.
> The install failed when trying to run the postinstall bash scripts.
> After the install failure bash fails every time with:
> The procedure entry point __locale_ctype_ptr could not be located in
> the dynamic link library cygwin1.dll.
>
> The install failed because it tried to install cygwin 2.6.0 which is
> not compatible with winxp.
>
> I reran Setup.exe to grab cygwin version 2.5.2-1 but the install still
> fails with the same cygwin1.dll error.
>
> Already tried to grab cygwin version 2.5.0 (which is the last known
> good cygwin version that ran on my machine) from the time machine, but
> I keep getting the same cygwin1.dll error.  Any ideas how to fix this.
>
> Thank you
> Will

On Fri, Sep 23, 2016 at 2:50 PM, William Forsyth <trikio1975@gmail.com> wrote:
> I broke my win XP cygwin install such that bash fails to start.
>
> I used Setup.exe version 2.870.
>
> The install failed when trying to run the postinstall bash scripts.
>
> After the install failure bash fails every time with:
>
> The procedure entry point __locale_ctype_ptr could not be located in
> the dynamic link library cygwin1.dll.
>
>
> The install failed because it tried to install cygwin 2.6.0 which is
> not compatible with winxp.
>
>
> I reran Setup.exe to grab cygwin version 2.5.2-1 but the install still
> fails with the same cygwin1.dll error.
>
>
> Already tried to grab cygwin version 2.5.0 (which is the last known
> good cygwin version that ran on my machine) from the time machine, but
> I keep getting the same cygwin1.dll error.  Any ideas how to fix this.
>
>
> Thank you
>
> Will

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: The procedure entry point could not be located in cygwin1.dll
  2016-09-23 21:08 The procedure entry point could not be located in cygwin1.dll William Forsyth
  2016-09-23 22:35 ` Ken Brown
  2016-09-23 23:00 ` William Forsyth
@ 2016-09-23 23:12 ` Brian Inglis
  2 siblings, 0 replies; 4+ messages in thread
From: Brian Inglis @ 2016-09-23 23:12 UTC (permalink / raw)
  To: cygwin

On 2016-09-23 14:50, William Forsyth wrote:
> I broke my win XP cygwin install such that bash fails to start.
> I used Setup.exe version 2.870.
> The install failed when trying to run the postinstall bash scripts.
> After the install failure bash fails every time with:
> The procedure entry point __locale_ctype_ptr could not be located in
> the dynamic link library cygwin1.dll.
> The install failed because it tried to install cygwin 2.6.0 which is
> not compatible with winxp.
> I reran Setup.exe to grab cygwin version 2.5.2-1 but the install still
> fails with the same cygwin1.dll error.
> Already tried to grab cygwin version 2.5.0 (which is the last known
> good cygwin version that ran on my machine) from the time machine, but
> I keep getting the same cygwin1.dll error.  Any ideas how to fix this.

Try rolling back the packages installed after and including cygwin 2.6
to previous release.
You can find the packages in /var/log/setup.log starting with the first
occurrence of cygwin-2.6.0-1.tar.xz using something like the following:

$ cygstart .../setup-x86 -x `sed '1,/cygwin-2\.6\.0-1\.tar\.xz$/d;
/^2016.*\/x86\(_64\)\?\/release\//!d;s///;s!^.*/!!;
s/-[0-9][-.0-9]\+\.tar\.xz$//' /var/log/setup.log | sort -u | paste -d, -s -`

where there should be no spaces or newlines in the sed command list.

This starts setup with the list of packages you need to rollback set
up to Uninstall or Reinstall: you just need to click on that column
for each package, until it shows the previous version differing from
the current version.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-23 23:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23 21:08 The procedure entry point could not be located in cygwin1.dll William Forsyth
2016-09-23 22:35 ` Ken Brown
2016-09-23 23:00 ` William Forsyth
2016-09-23 23:12 ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).