X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BJ,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <4C92746C DOT 5080809 AT x-ray DOT at> Date: Fri, 17 Sep 2010 09:35:58 +0200 Message-ID: Subject: Re: Cygwin + Python: unable to remap From: Reini Urban To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2010/9/17 Mark Geisert: > Al writes: >> 2010/9/16 Mark Geisert: >> >> > =A0=A0 =A0cygncurses5.dll =3D> /home/prefix/gentoo/usr/bin/cygncurs= es5.dll >> >> > (0x10000000) >> > >> > This one is below the sixty million value that Reini described as > suspicious. >> >> Now what do I make of that. Do I tell it to be loaded elsewhere? Any >> helpful link? > > You want 'rebase' from the 'rebase' package. =A0Use setup.exe to install = it > if you don't have it already. =A0After installation, it's documented in a > text file /usr/share/doc/Cygwin/rebase*README. > > You get to choose the base address to rebase the dll to. =A0'rebaseall', > from the same package, defaults to seventy million (=3D 0x70000000) so th= at > could be good. > > If you've built other dlls in the same directory you might as well run > rebase or rebaseall on all of them to avoid future issues of this type. It's not that simple :) rebaseall only rebases the exact dll's which were installed from your packager (setup.exe), but not any other dll's used at run-time - shadowing system dll's as in your case, or added dependencies as with perl or python. python or perl are favorites adding additional dll's to your run-time because you can and should simply add external library bindings by yourself. In your case the simpliest fix would be to remove your /home/prefix/gentoo.= .. prefix from your path. Or, if you have to, rebase your added dll to the same address as the origin= al. imagebase: objdump -p $1 |grep ImageBase |cut -c12- --=20 Reini Urban http://phpwiki.org/=A0 =A0 =A0 =A0 =A0=A0 http://murbreak.at/ -- 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