Re: procedure entry point getline could not be located

2006-01-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[Your mailer seems to have a problem with extra newlines between
paragraphs, and an inability to wrap lines at a decent column length.]

According to keinnamens AT excite DOT com on 1/14/2006 12:01 AM:
 In my case, the following fix worked:

I'm glad you solved your problem.  But I'm still going to reply so that
others finding this thread don't get misinformation.

 
 - delete all files from the local install directory
 
   e.g.  ftp%22%3A%2F%2F%somemirror-filefolder.com

Overkill.  Okay if you wanted to save diskspace, but it probably made your
redownload slower (since setup.exe is smart enough to avoid a download if
the version of a package in your local install directory is already the
most current version).

 
 - run setup, select All, then click the arrow switch to cycle through actions.
 
   Keep - Install - until Uninstall is displayed. Follow wizard until
 
   Uninstall is complete.

Overkill.  setup.exe is designed to work without requiring an uninstall
step.  Furthermore, using setup.exe's uninstall doesn't uninstall
everything; see the FAQ.

 
 - verify absence of cygwin1.dll (click desktop icon, get error)
 
 - run setup.exe again, with Defaults
 
 Cygwin runs, with just the basics. Find and startup work without the 
 
 getline error.

Yes, when using setup.exe to pull in the default, you will get a working
cygwin with a working find.exe.

 
 Now, let's see if I can add more than the basic defaults without horking it 
 up...
 
 - reboot

Overkill, if setup.exe did not tell you to do so.  A reboot is only
necessary if you are upgrading a .dll or .exe that is still resident in
memory, in which case setup.exe tells you so.

 
 - run setup.exe
 
 - choose a mirror
 
 - make a zillion selections
 
 - let the installer run
 
 
 
 It works now!

Yes, it will work as long as you don't use experimental packages without
following the directions associated with those experimental packages.

 
 I don't know which of these actions fixed the installation. Maybe one of the 
 ini files in the install directory had a bad combination of versions. I'm 
 sure I did not pick the exact same set of packages to install. I did not 
 remove the exes and other files left behind after the uninstall.

Using the default install avoids experimental packages.  Again, for you to
get the warning that find.exe could not find getline(), you had to have
installed the experimental version of findutils at some point in time.  So
your reinstallation procedure probably did the trick of getting
findutils-4.2.25-2 instead of findutils-4.2.27-1, which was your original
problem, along with killing a lot of your time in performing all the steps
I marked overkill.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDy5u584KuGfSFAYARAmUDAKCoUpkxvKF5Q7SYeVG72tHescaTdACgxYWK
7WY25M1DeyJj39IdAF2DmQE=
=X/yY
-END PGP SIGNATURE-

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



procedure entry point getline could not be located

2006-01-13 Thread [EMAIL PROTECTED]

I seem to have a cygwin problem that others have had, but the fixes that worked 

for them have not fixed my installation.

What further steps can I take to try and fix the error The procedure entry 
point getline could not be located in the dynamic link library cygwin1.dll?

Thanks.



Window title:   find.exe - Entry point not found

Message: The procedure entry point getline could not be located in the 

 dynamic link library cygwin1.dll



Happens when:   I launch cygwin or invoke find.exe.



I had a working but limited default install of Cygwin on Windows XP.

I ran the installer later, added dev tools, vim, wget, etc. Had

some disconnections after choosing modules before setup.exe did the downloads.

Because of the disconnects, I used 2 or 3 different mirrors on these attempts 
(Maybe I got dlls out-of-sync that way?)



Posts I've read: FAQ, Problems, and 40 posts (see list below).

The gist from other posts:

You have an old version of cygwin1.dll

You have multiple copies of cygwin1.dll

You have cygwin1.dll in a software distribution

After each attempt to fix, you need to reboot



Steps I've Tried:

Eliminating Duplicates: No duplicate cygwin1.dll showed up through the 

following searches.

Windows XP Explorer find   (one copy, as expected)

In CMD.EXE:

cd C:\

dir cygwin1.dll /s /a /b CYGWIN_DLL_S_A_B.txt

more \CYGWIN_DLL_S_A_B.txt

C:\cygwin\bin\cygwin1.dll (one copy, as expected)

In Cygwin terminal:

cd /cygdrive/c/

ls -R1  CYGWIN_DLL_ls-R1.txt

$ grep -c 'cygwin1.dll' /cygdrive/c/CYGWIN_DLL_ls-R1.txt

1



(Rebooting, restarting cygwin from desktop shortcut, with each attempt)

Shutting off firewall (which alerted as hostname.exe and uname.exe would launch)

Rolling back GNU coreutils to 5.2.1-5 from 5.3.0-9

Moving cygwin1.dll, and then selecting Reinstall in the installer.

C:\move C:\cygwin\bin\cygwin1.dll \home\monte\BKP\old_cygwin1.dll

Installing from local directory.



Posts that I've read on similar errors:

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00073.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00082.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00108.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00110.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00132.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00133.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00134.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00135.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00136.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00138.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00140.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00141.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00142.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00143.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00162.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00163.html

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00169.html

http://www.cygwin.com/ml/cygwin-xfree/2005-11/msg00128.html

http://www.cygwin.com/ml/cygwin-xfree/2005-11/msg00129.html

http://www.cygwin.com/ml/cygwin-xfree/2005-12/msg0.html

http://www.cygwin.com/ml/cygwin/1998-09/msg00307.html

http://www.cygwin.com/ml/cygwin/2001-04/msg00846.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00011.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00014.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00043.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00046.html

http://www.cygwin.com/ml/cygwin/2003-07/msg00314.html

http://www.cygwin.com/ml/cygwin/2004-02/msg00414.html

http://www.cygwin.com/ml/cygwin/2004-02/msg00422.html

http://www.cygwin.com/ml/cygwin/2004-02/msg00427.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00102.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00323.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00324.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00325.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00327.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00410.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00411.html

http://www.cygwin.com/ml/cygwin/2005-10/msg00414.html



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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



Re: procedure entry point getline could not be located

2006-01-13 Thread Igor Peshansky
On Sat, 14 Jan 2006, keinnamens wrote:

 I seem to have a cygwin problem that others have had, but the fixes that
 worked for them have not fixed my installation.
 What further steps can I take to try and fix the error The procedure
 entry point getline could not be located in the dynamic link library
 cygwin1.dll?
 Thanks.

 Window title: find.exe - Entry point not found
 Message: The procedure entry point getline could not be located in the
dynamic link library cygwin1.dll

 Happens when: I launch cygwin or invoke find.exe.

You have an old version of Cygwin on your system.  Without knowing more
about your Cygwin configuration, the best this list can offer is guesses.

 I had a working but limited default install of Cygwin on Windows XP.
 I ran the installer later, added dev tools, vim, wget, etc. Had some
 disconnections after choosing modules before setup.exe did the
 downloads.
 Because of the disconnects, I used 2 or 3 different mirrors on these
 attempts (Maybe I got dlls out-of-sync that way?)

 Posts I've read: FAQ, Problems, and 40 posts (see list below).

Oh, good, so you've read http://cygwin.com/problems.html...  Please
re-read it and follow the directions in bold (in the third bullet).  This
will give us enough information to attempt diagnosing the problem.

 The gist from other posts:
   You have an old version of cygwin1.dll

This is the most likely culprit.

   You have multiple copies of cygwin1.dll

...and one of them is old...

   You have cygwin1.dll in a software distribution

...and it is old.

 [snip]
 Posts that I've read on similar errors:
 [snip]
 http://www.cygwin.com/ml/cygwin/1998-09/msg00307.html
 http://www.cygwin.com/ml/cygwin/2001-04/msg00846.html

While we admire the amount of research, why would you think that 4- and
7-year-old posts have any relevance anymore?
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

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



Re: procedure entry point getline could not be located

2006-01-13 Thread Eric Blake
 
 What further steps can I take to try and fix the error The procedure entry 
 point getline could not be located in the dynamic link library cygwin1.dll?

Although you did extensive research, you failed to realize that providing
the output of cygcheck -svr is essential to helping us determine your
problem.  However, my guess is as follows:

You are probably running cygwin 1.5.18 and tried the experimental
findutils 4.2.27-1.  This won't work.  Findutils 4.2.27 is experimental
for a reason - it depends on getline(), which cygwin1.dll did not
provide until in the snapshots following 1.5.18.  To fix the problem,
either downgrade findutils back to the stable 4.2.25-2, or
upgrade cygwin to a current snapshot (see earlier threads from
this week for instructions on installing a snapshot).

--
Eric Blake
volunteer cygwin findutils maintainer

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



RE: procedure entry point getline could not be located

2006-01-13 Thread [EMAIL PROTECTED]

In my case, the following fix worked:

- delete all files from the local install directory

  e.g.  ftp%22%3A%2F%2F%somemirror-filefolder.com

- run setup, select All, then click the arrow switch to cycle through actions.

  Keep - Install - until Uninstall is displayed. Follow wizard until

  Uninstall is complete.

- verify absence of cygwin1.dll (click desktop icon, get error)

- run setup.exe again, with Defaults

Cygwin runs, with just the basics. Find and startup work without the 

getline error.



Now, let's see if I can add more than the basic defaults without horking it 
up...

- reboot

- run setup.exe

- choose a mirror

- make a zillion selections

- let the installer run



It works now!

I don't know which of these actions fixed the installation. Maybe one of the 
ini files in the install directory had a bad combination of versions. I'm sure 
I did not pick the exact same set of packages to install. I did not remove the 
exes and other files left behind after the uninstall.









___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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



RE: procedure entry point getline could not be located

2006-01-13 Thread [EMAIL PROTECTED]

Thanks for the info on findutils, Eric. I probably clicked one too many times 
on findutils, on the first try. My output from cygcheck does show the earlier 
version, now.

...

file 4.16-1

findutils4.2.25-2

fontconfig   2.2.2-1

...

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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