"Entry point not found" error in windows

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Jul 20 13:23:00 GMT 2004

On Tue, 20 Jul 2004, Joshua Goldberg wrote:

> I downloaded cygwin/X from a mirror in the UK (I had the same problem when I
> downloaded from www.gwdg.de). and tried to install it onto my Windows XP
> machine. when I try to run XWin.exe or any other executable I get the
> following Windows error:
> Entry Point Not Found, The Procedure entry point __getreent could not be
> located in the dynamic link library cygwin1.dll

This usually means you have more than one version of cygwin1.dll on your

> I found a larger version of cygwin1.dll in the bin directory


> and copied that into usr/X11R6/bin.

*Don't* do that.  It's usually a very bad idea to have more than one
version of cygwin1.dll on your machine, much less in your PATH.  Run a
Windows search for any files named cygwin1.dll and delete them all except
the one in /bin.

> This time I got got another error message about not having the file
> cygfreetype-6.dll.

If you ever want to find out which Cygwin package contains a particular
file, the Setup package search page at <http://cygwin.com/packages/> is
the place to go.  In your case, cygfreetype-6.dll is contained in the
libfreetype26 package.  Do you have the libfreetype26 package installed?

> Can you help me out here? I would like to be able to have a working X
> server on this machine
> Best Regards and thanks a million
> Josh Goldberg

For the future, please read and follow the Cygwin problem reporting
guidelines at <http://cygwin.com/problems.html>, particularly the part
in bold (about running "cygcheck -svr").  Having that attachment usually
helps in determining your problem(s), and removes the need for questions
like "do you have libfreetype26 installed?" above.  It would have also
shown you having two versions of cygwin1.dll, and many other things.
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

More information about the Cygwin-xfree mailing list