X-Spam-Check-By: sourceware.org
Message-ID: <4578169A.5030705@byu.net>
Date: Thu, 07 Dec 2006 06:26:50 -0700
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin@cygwin.com, alexei.alexandrov@gmail.com
Subject: Re: Latest Cygwin: rl_getenv_hook problem
References: <98a8c95d0612062318k6d33e444i45adbd01d0aa757a@mail.gmail.com>
In-Reply-To: <98a8c95d0612062318k6d33e444i45adbd01d0aa757a@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Alexei Alexandrov on 12/7/2006 12:18 AM:
> sh.exe won't start with the following error message:
> 
> The procedure entry point rl_getenv_hook could not be located in the
> dynamic link library cygreadline6.dll

Your version of /bin/sh (I'm guessing something from the 6.0 series) did
not get upgraded properly by the bash postinstall script.  So that I might
be able to improve the postinstall script to try harder in your scenario,
please run the following commands and report the results to the list:

$ ls -l /bin/bash.exe /bin/sh.exe
$ getfacl /bin/bash.exe /bin/sh.exe
$ sh --version
$ bash --version

Then run the following command to fix your problem:

$ cp /bin/bash.exe /bin/sh.exe

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

Eric Blake             ebb9@byu.net
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFeBaZ84KuGfSFAYARAmSKAKCoaNdXtxz5sS76K4F0m6EMOlDvQwCgtyPi
lGAkjYEnTNWKLJSgFc729ac=
=3kAL
-----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/

